Information recording method, information recording device, and information storage medium

ABSTRACT

An information storage medium is designed to assure stable continuous recording without adverse effect, even when many defective areas are present on the information storage medium. To record information onto the information storage medium, a file unit is defined as a first unit. A contiguous data area unit to be treated as a continuous recording area is defined as a second unit. Furthermore, recording is done in the contiguous data area units and a collection of the contiguous data area units is organized into the file unit. In addition, an information recording place is provided in such a manner that the contiguous data area unit is so set that it extends over the recording area of another file already recorded on the information storage medium and a defective area on the information storage medium.

CROSS-REFERENCE TO RELATED APPLICATIONS

[0001] This is a continuation of Application No. PCT/JP99/05096, filed Sep. 20, 1999.

[0002] This application is based upon and claims the benefit of priority from the prior Japanese Patent Applications No. 10-265270, filed Sep. 18, 1998; No. 10-292819, filed Sep. 30, 1998; No. 10-292821, filed Sep. 30, 1998; No. 10-292823, filed Sep. 30, 1998; No. 10-292826, filed Sep. 30, 1998; and No. 10-292827, filed Sep. 30, 1998, the entire contents of which are incorporated herein by reference.

BACKGROUND OF THE INVENTION

[0003] This invention relates to an information recording method, an information recording device, an information reproducing device, and an information storage medium which are suitable for recording various types of information, including video information and/or audio information, and further computer data, onto a recording medium.

[0004] In the information recording method and device, various types of information are recorded continuously onto an information storage medium without logical intermission. In the information storage medium, the recorded information includes information about a data structure that enables the recorded information to be managed effectively and reproduced continuously.

[0005] There are laser disks (LDs) and digital video (DVD) disks used as information storage mediums on which video information or audio information has been recorded. The information storage mediums, however, are only for playback use and have no defective area thereon.

[0006] There are DVD-RAM disks used as mediums for storing computer information. This type of medium enables additional recording. In addition, a method of replacing a defective area occurred on the information storage medium has been established.

[0007] One known method of replacing a defective area occurred in recording computer information on a RAM disk is a linear replacement process.

[0008] This process is a method of, when a defect has occurred, securing a replacement area in a spare area secured in another area physically separate from a user area and setting a logical block number (LBN) in the replacement area. In this method, when a defective area has occurred in the middle of recording or reproducing information onto or from a disk, the optical head has to record or record the data in the spare area in a physically separate position and thereafter return to the position where it interrupted the recording and resume recording the subsequent data. This results in the frequent movement of the optical head.

[0009] In the computer system, the control hierarchy is divided into a video recording and reproducing application software (hereinafter, abbreviated as recording/reproducing application) layer, a file system layer, and an optical disk drive (ODD) layer in the section for processing information and recording and reproducing information.

[0010] Commands acting as interfaces have been defined between the layers. Addresses dealt with at each layer differ from one level of hierarchy to another. Specifically, the recording/reproducing application layer deals with audio and video addresses (commonly known as AV addresses), the file system layer deals with logical sector numbers (LSN) or logical block numbers (LBN) on the basis of AV addresses, and the optical disk drive layer deals with physical sector numbers (PSN) on the basis of logical sector numbers (LSN) or logical block numbers (LBN).

[0011] Now, consider a case where video information or audio information according to the recording format of a DVD video disk is recorded on a DVD-RAM disk. As described above, when the linear replacement process is performed as a method of processing (replacing) a defect, each time a defective ECC block is encountered in recording, the head has to move back and fourth between the user area explained later and the spare area.

[0012] Such frequent access of the optical head in recording permits the amount of video information stored in the buffer memory to exceed the memory capacity because of the transfer speed and data amount of the input data, the access time in recording, the buffer memory capacity, and others, which makes continuous recording impossible.

[0013] Although it is hoped that video information to be recorded is managed in the video recording and reproducing application software layer without the burden of managing defects on the information storage medium, if many defective areas have occurred on the information storage medium, a conventional method permits the influence of defects in the information storage medium to extend even to the video recording and reproducing application software layer, which makes stable video information management difficult.

[0014] Furthermore, in the case of recordable and reproducible disks, there has been a desire that they should be used for not only AV data but also various types of information recording.

[0015] (1) It is, accordingly, an object of the present invention to provide an information recording method, an information recording device, an information reproducing device, and an information storage medium which have specific recording units set therein and enable environmental setting to achieve stable video information management (specifically, a video information recording, reproducing, and editing method in a system) even if a defective area or another data area exists in the specific recording units. According to the present invention, there are also provided an information recording device and an information reproducing device which have a most suitable system for realizing the above environment.

[0016] (2) Another object of the present invention is to provide an information recording method, an information recording device, an information reproducing device, and an information storage medium which improve the method of managing AV file identification information to make it easier to identify and manage different types of data.

[0017] (3) Another object of the present invention is to provide an information recording method, an information recording device, an information reproducing device, and an information storage medium which maintain the boundary between specific data block units (for example, ECC units) using unused extents, thereby facilitating the error correction management of data and the additional recording process and management of subsequent data, when AV data is recorded.

[0018] (4) Another object of the present invention is to provide an information recording method, an information recording device, an information reproducing device, and an information storage medium which not only search in advance for a place where AV data is to be recorded to prevent data from being recorded in another data area or a defective area, but also have the function of securing a recording area to prevent errors in recording.

[0019] (5) Another object of the present invention is to provide an information recording method, an information recording device, an information reproducing device, and an information storage medium which always write data in, for example, error correction codes (ECC) block units in recording data in such a manner that they perform reading control at the beginning of writing, search for the recorded state of the error correction codes, and write data while maintaining the block units of the error correction codes, thereby improving the data writing efficiency and assuring the reliability of the error correcting process of data.

[0020] (6) Another object of the present invention is to provide an information recording method, an information recording device, an information reproducing device, and an information storage medium which are additionally provided with a file partial delete command, thereby enabling editing to be done more easily.

BRIEF SUMMARY OF THE INVENTION

[0021] The foregoing objects are accomplished as follows:

[0022] (A) According to the present invention, there is provided an information recording method or apparatus which uses a head for recording information onto at least an information storage medium, a head moving mechanism for moving the head to the information storage medium, and a control section for controlling the moving position of the head by controlling the head moving mechanism to record information onto the information storage medium, the information recording method or apparatus characterized by

[0023] defining a file unit as a first unit to record information onto the information storage medium and further defining a contiguous data area unit serving as a continuous recording area as a second unit to decrease the frequency of accessing of the optical head and thereby enable apparently continuous recording on the information storage medium,

[0024] doing recording in the contiguous data area units and organizing a collection of contiguous data area units into the file unit, and providing an information recording place in such a manner that the contiguous data area unit is so set that it extends over the recording area of another file already recorded on the information storage medium and a defective area on the information storage medium. There is further provided a recording medium with such a recording place.

[0025] (B) According to the present invention, there is provided an information recording method or apparatus characterized in that file entry information is recorded in the data area on the information recording medium and identification information about a file to be entered is recorded in the file entry information. There is further provided a storage medium on which such information has been recorded.

[0026] (C) According to the present invention, there is provided an information recording method or apparatus characterized by having a first recording unit to be recorded on the information storage medium and a second recording unit larger than the first recording unit, defining an unused area at the end of the recording area in the second recording units, and recording information using the unused area in the next recording. Alternatively, there is provided a storage medium on which information has been recorded in such a manner.

[0027] (D) According to the present invention, there is provided an information recording method or apparatus characterized by searching for an unused area on the information storage medium, creating and allocating position information in extent units serving as units of continuous recording to the searched area, and recording the extent position information in a management area. There is further provided a storage medium on which such information has been recorded.

[0028] (E) According to the present invention, there is provided an information recording method or apparatus characterized by recording information in error correction code units and, when the end of the recording information has extended to the middle of an error correction code unit, supplementing the deficiency in the recording information with padding to keep the error correction code unit. There is further provided a storage medium on which such data has been recorded.

[0029] (F) According to the present invention, there is provided an information recording method or apparatus characterized by reading the error correction code unit in the already written recording information at the beginning of writing and, when the end of the recording information has extended to the middle of an error correction code unit between an unused area and an already used area, writing additional data to keep the error correction code unit and thereafter writing data in error correction code units. There is further provided a storage medium on which such data has been recorded.

[0030] (G) According to the present invention, there is provided an information recording method characterized by comprising

[0031] a first recording process layer for controlling an information recording and reproducing device that records information onto an information storage medium,

[0032] a second recording layer which is a file system part that controls locations in which information is to be recorded and which controls the first recording process layer, and

[0033] a third recording process layer acting as an application layer that gives a command to the second recording process layer,

[0034] in such a manner that these layers are constructed so as to form control data groups for recording or reproducing information in information recording file units onto or from the information recording medium, and

[0035] by having a command to cause the third recording process layer to instruct the second recording process layer to delete only part of the file unit. Alternatively, there is provided an apparatus characterized by comprising the above layers. Still alternatively, there is provided a storage medium which is accessed in such a manner.

[0036] Additional objects and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The objects and advantages of the invention may be realized and obtained by means of the instrumentalities and combinations particularly pointed out hereinafter.

BRIEF DESCRIPTION OF THE SEVERAL VIEWS OF THE DRAWING

[0037] The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate presently preferred embodiments of the invention, and together with the general description given above and the detailed description of the preferred embodiments given below, serve to explain the principles of the invention.

[0038]FIG. 1 is an explanatory diagram showing the configuration of a personal computer;

[0039]FIG. 2 is an explanatory diagram of the layout of the general contents of record on in a DVD-RAM disk;

[0040]FIG. 3 is an explanatory diagram showing the structure of the lead-in area on a DVD-RAM disk;

[0041]FIG. 4 is an explanatory diagram showing the structure of the lead-out area on a DVD-RAM disk;

[0042]FIG. 5 is an explanatory diagram showing the relationship between physical sector numbers and logical sector numbers;

[0043]FIG. 6 is an explanatory diagram showing the signal structure in a sector to be recorded in a data area;

[0044]FIG. 7 is an explanatory diagram showing the recording unit for information to be recorded in a data area;

[0045]FIG. 8 is an explanatory diagram showing the relationship between zones and groups;

[0046]FIG. 9 is a diagram to help explain a method of setting logical sectors on a DVD-RAM disk;

[0047]FIG. 10 is a diagram to help explain a method of replacing a defective area in the data area;

[0048]FIG. 11 is an explanatory diagram showing the configuration of the information recording and reproducing section;

[0049]FIG. 12 is a diagram to help explain the operation of setting logical block numbers at the information recording and reproducing section;

[0050]FIG. 13 is a diagram to help explain the operation of processing defects at the information recording and reproducing section;

[0051]FIG. 14 shows an example of a file system recorded on an information storage medium according to UDF;

[0052]FIG. 15 shows the remaining part of FIG. 14;

[0053]FIG. 16 roughly shows the basic relationship between the structure of the hierarchical file system and the contents of information recorded on the information storage medium;

[0054]FIG. 17 shows an example of the contents of a long allocation descriptor;

[0055]FIG. 18A shows an example of the contents of a short allocation descriptor;

[0056]FIG. 18B shows an example of the contents of the extent length;

[0057]FIG. 19 is an explanatory diagram of the contents of an unlocated space entry;

[0058]FIGS. 20A and 20B are explanatory diagrams showing part of the contents of file entry;

[0059]FIG. 21 is an explanatory diagram showing part of the contents of a file identification descriptor;

[0060]FIG. 22 shows an example of the structure of the file system;

[0061]FIG. 23 is an explanatory diagram showing the data structure on a video recordable/reproducible information storage medium;

[0062]FIG. 24 is an explanatory diagram showing the data structure in an AV file recorded on an information storage medium;

[0063]FIG. 25 is an explanatory diagram showing the directory structure of a data file in the data area;

[0064]FIG. 26 is an explanatory diagram showing the data structure in the program chain control information;

[0065]FIG. 27 is an explanatory diagram showing an example of reproducing the video information using program chains;

[0066]FIG. 28 is a diagram to help explain a method of setting video information recording locations when an unused area is set in an AV file on the video recording and reproducing application software side;

[0067]FIG. 29 shows the relationship between logical block numbers and AV addresses in an AV file;

[0068]FIG. 30 is a diagram to help explain a method of handling data when part of the AV file is deleted in a case where the unused area in the AV file is managed on the video recording/reproducing application side in each embodiment of the present invention;

[0069]FIG. 31 is an explanatory diagram showing the data structure in the video object control information;

[0070]FIG. 32 is a conceptual diagram of a recording system to help explain the continuity of recording signals;

[0071]FIG. 33 is a diagram to help explain the state of the amount of information stored in the semiconductor memory when the frequency of access is the highest in the recording system;

[0072]FIG. 34 is a diagram to help explain the state of the amount of information stored in the semiconductor memory when there is a balance between the video information recording time and the access time in the recording system;

[0073]FIG. 35 is an explanatory diagram for comparison between skipping replacement and linear replacement when the information recording and reproducing device manages defect management information;

[0074]FIG. 36 is a diagram to help explain an example of the optical head (pickup) moving over tracks;

[0075]FIG. 37 is a diagram to help explain the data structure of defect management information on the information storage medium managed by the information recording and reproducing device in each embodiment of the present invention;

[0076]FIG. 38 is a diagram to help explain the data structure of defect management information on the information storage medium managed by the file system 2 in each embodiment of the present invention;

[0077]FIG. 39 is an explanatory diagram for comparison between skipping replacement and linear replacement in management based on the defect management information of FIG. 38;

[0078]FIG. 40 is a flowchart to help explain the procedure for creating a replacement area setting file;

[0079]FIG. 41 is a flowchart to help explain a replacing process using the replacement area setting file;

[0080]FIG. 42 is a flowchart to help explain the procedure for creating a replacement area setting file;

[0081]FIG. 43 is an explanatory diagram of additional recording video information and an unused area in the contiguous data area in each embodiment of the present invention;

[0082]FIG. 44 is an explanatory diagram of the recording location of the information length specified for each file and the attribute writing location for each extent (implementation use);

[0083]FIG. 45 is a diagram to help explain a method of deleting part of an AV file in each embodiment of the present invention;

[0084]FIG. 46 is a diagram to help explain another method of deleting part of an AV file in each embodiment of the present invention;

[0085]FIG. 47 is a diagram to help explain still another method of deleting part of an AV file in each embodiment of the present invention;

[0086]FIG. 48 is a diagram to help explain the contents of the contiguous data area boundary position information and its recording location in an embodiment of the present invention;

[0087]FIG. 49 is a diagram to help explain a method of recording data including a defective area in an embodiment of the present invention;

[0088]FIG. 50A is a diagram to help explain a method of recording data, avoiding a defective area, in an embodiment of the present invention;

[0089]FIG. 50B is a diagram to help explain a method of recording data, avoiding a defective area in another embodiment of the present invention;

[0090]FIG. 51 is a diagram to help explain a method of setting a contiguous data area and a method of presetting an extent before recording in an embodiment of the present invention;

[0091]FIG. 52 schematically shows the configuration of an information recording and reproducing device according to the present invention;

[0092]FIGS. 53A, 53B, and 53C are diagrams to help explain the problems of write commands;

[0093]FIG. 54 schematically shows the procedure for recording video information by the information recording method of the present invention;

[0094]FIG. 55 shows the details of step ST01 of FIG. 54;

[0095]FIG. 56 shows the details of step ST02 of FIG. 54;

[0096]FIG. 57 shows the details of step ST03 of FIG. 54;

[0097]FIG. 58 shows the details of step ST04 of FIG. 54;

[0098]FIG. 59 is an explanatory diagram showing the location where identification information about an AV file according to the present invention has been recorded;

[0099]FIG. 60 is an explanatory diagram showing another example of the location where identification information about an AV file according to the present invention has been recorded;

[0100]FIG. 61 is a conceptual diagram to help explain a method of recording video information continuously according to the present invention;

[0101]FIG. 62 is an explanatory diagram of commands used in recording information onto an information storage medium according to an embodiment of the present invention;

[0102]FIG. 63 is a diagram to help explain a method of recording information onto an information storage medium according to an embodiment of the present invention;

[0103]FIG. 64 is a diagram to help explain a method of recording information onto an information storage medium according to an embodiment of the present invention;

[0104]FIG. 65 is a diagram to help explain a method of recording information onto an information storage medium according to an embodiment of the present invention;

[0105]FIG. 66 is an explanatory diagram of commands used in recording information onto an information storage medium according to an embodiment of the present invention;

[0106]FIG. 67 is a diagram to help explain a method of recording information onto an information storage medium according to an embodiment of the present invention;

[0107]FIG. 68 is a diagram to help explain a method of recording information onto an information storage medium according to an embodiment of the present invention;

[0108]FIG. 69 is a diagram to help explain a method of recording information onto an information storage medium according to an embodiment of the present invention;

[0109]FIG. 70 shows the procedure for reproducing video information by the information recording method according to the present invention;

[0110]FIG. 71 shows the procedure for deleting part of an AV file in the information recording method and reproducing method according to the present invention;

[0111]FIG. 72 is a diagram to help explain a recording and deleting method viewed from a video recording/reproducing application in an embodiment of the information recording method and reproducing method according to the present invention;

[0112]FIG. 73 is a diagram to help explain a case where new information is recorded in such a manner that it is overwritten from the middle of the existing contiguous data area in the information recording method according to the present invention;

[0113]FIG. 74 is a diagram to help explain a case where new information is recorded in such a manner that it is overwritten as far as the middle of the existing contiguous data area in the information recording method according to the present invention;

[0114]FIG. 75 is a diagram to help explain a case where part of an AV file is deleted in contiguous data area units in the information recording method according to the present invention;

[0115]FIG. 76 is a diagram to help explain the process of recording video data in an embodiment of the information recording method according to the present invention;

[0116]FIG. 77 is a diagram to help explain the process of recording video data in the embodiment of the information recording method according to the present invention;

[0117]FIG. 78 is a diagram to help explain the process of recording video data in the embodiment of the information recording method according to the present invention;

[0118]FIG. 79 is a flowchart to help explain the process of creating a replacement-only file in the information recording method according to the present invention;

[0119]FIG. 80 is a flowchart to help explain a replacing process using a replacement-only file in the information recording method according to the present invention;

[0120]FIG. 81 shows the remaining part of the flowchart of FIG. 80;

[0121]FIG. 82 shows still another embodiment of the information recording method according to the present invention;

[0122]FIG. 83 shows another embodiment of the extent attribute information recording method in the information recording method according to the present invention;

[0123]FIG. 84 shows a package of a disk according to the present invention;

[0124]FIG. 85 is an explanatory diagram showing the relationship between the AV data recording area and ECC blocks recorded by the information recording method according to the present invention;

[0125]FIG. 86 shows an example of the information recording method according to the present invention, specifically an example of data processing at the beginning of writing;

[0126]FIG. 87 is an explanatory diagram showing an example of description of the file structure using extents in a file descriptive statement related to the information recording method according to the present invention; and

[0127]FIG. 88 is an explanatory diagram showing a method of allocating extents to an unrecorded area by the information recording method according to the present invention.

DETAILED DESCRIPTION OF THE INVENTION

[0128] Hereinafter, referring to the accompanying drawings, embodiments of the present invention will be explained.

[0129] Table 1 and Table 2 shown at the end of the specification list not only the functions necessary in recording audio and video (hereinafter, abbreviated as AV) information onto an information storage medium but also the expectable effects unique to the present invention.

[0130] Table 3 shows the relationship between the application, file system, and optical disk drive classified in Table 1 and Table 2. The optical disk drive is abbreviated as the ODD (Optical Disk Drive). The ODD in Table 3 is the same as the information recording and reproducing device 140 in, for example, a personal computer (abbreviated as PC) system explained later. The programs of the file system and video recording and reproducing application software (abbreviated as recording/reproducing application) are generally stored in the hard disk drive (abbreviated as HDD) 121 in, for example, the PC system explained later. The file system is transferred to a main memory 112 at the time of start-up of a personal computer (PC) system 110. When the video recording and reproducing application software program is used, the recording/reproducing application program is transferred to the main memory 112.

[0131] First, the PC system will be explained by reference to FIG. 1. The reason is that the objects of the present invention are realized using all or part of the elements constituting the personal computer.

[0132]FIG. 1 shows the configuration of the PC system using an information reproducing device.

[0133] 5A—Explanation of the internal structure of the personal computer

[0134] 5A-1—Explanation of the data/address lines connected directly to the main CPU

[0135] A main CPU 111 in the personal computer 110 includes memory data lines 114 that provide direct input and output of information with the main memory 112 and memory address lines 113 that specify the address for a piece of information recorded in the main memory 112. According to the program loaded into the main memory 112, the CPU 111 executes processes. Furthermore, the main CPU 111 transfers information via input/output (I/O) data lines 146 to various types of controllers. By address specification via I/O address lines 145, the main CPU 111 specifies not only an information transfer destination controller but also the contents of the information to be transferred.

[0136] 5A-2—Explanation of cathode-ray tube (CRT) display control and keyboard control

[0137] A liquid-crystal device (LCD) controller 115 that performs display content control of a CRT display 116 exchanges information with the main CPU 111 via the memory data lines 114. There is further provided a video RAM 117 as a memory dedicated to the CRT display 116 to realize high resolution and a wide variety of colors in representation. An LCD controller 115 is capable of taking in the information directly from the main memory 112 via the memory data lines 114 and displaying the information on the CRT display 116. The numeral keypad information inputted from a keyboard 119 is converted by a keyboard controller 118. The converted information is inputted to the main CPU 111 via I/O data lines 146.

[0138] 5A-3—Explanation of a built-in hard disk drive (HDD)/the control system of the information reproducing device

[0139] An IDE interface is often used as an optical information reproducing device 122 in an HDD 121 built in the personal computer 110 or a CD-ROM drive/DVD-ROM drive. The playback information from the HDD 121 or information reproducing device 122 or the recording information to the HDD 121 is transferred to the I/O data lines 146 via an IDE controller 120.

[0140] When the HDD 121 is used as a boot disk, the main CPU 111 accesses the HDD 121 at the start-up of the personal computer system 110 and transfers the necessary information from the HDD 121 to the main memory 112.

[0141] 6A-4—Explanation of a serial/parallel interface (I/F) with the outside world

[0142] Serial lines and parallel lines are provided for information transfer with external units for the personal computer system 110.

[0143] A parallel I/F controller 123, represented by “CENTRO”, that controls the parallel lines is used when, for example, a printer 124 or a scanner 125 are driven directly without using a network. The information transferred from the scanner 125 is transferred to the I/O data lines 146 via the parallel I/F controller 123. The information transferred over the I/O data lines 146 is transferred to the printer 124 via the parallel I/F controller 123.

[0144] For example, when the information in a video RAM 117 displayed on the CRT display 116 or a specific piece of information in the main memory 112 is printed out, these pieces of information are transferred to the I/O data lines 146 via the main CPU 111 and thereafter are protocol-converted by the parallel I/F controller 123. The converted pieces of information are outputted to the printer 124.

[0145] As for serial information outputted to the outside world, the information transferred over the I/O data lines 146 is protocol-converted by a serial I/F controller 130, which then outputs the resulting signal as, for example, RS-232C signal e.

[0146] 5A-5—Explanation of bus lines for expanding functions

[0147] The personal computer system 110 has various types of bus lines for expanding functions. A desktop personal computer often has a PCI bus 133 and an EISA bus 126 as bus lines. Each bus line is connected via a PCI bus controller 143 or an EISA bus controller 144 to the I/O data lines 146 and I/O address lines 145. Various boards connected to the bus lines are divided into boards only for EISA bus 126 and boards only for PCI bus 133. Since the PCI bus 133 is relatively suitable for high-speed transfer, the number of boards connected to the PCI bus 133 is larger in the figure. However, use of boards only for EISA bus 126 enables a LAN board 139 or an SCSI board 138 to be connected to the EISA bus 126.

[0148] 5A-6—Explanation of a schematic function of each the boards connected to bus lines

[0149] (Sound bluster board 127)—An audio signal inputted from a microphone 128 is converted by a sound bluster board 127 into digital information. The digital information passes through the EISA bus 126 and I/O data lines 146 and is inputted to the main memory 112, HDD 121, and information recording and reproducing device 140, which process the information. When wanting to listen to music or speech, the user specified the file name recorded in the HDD 121, an HDD 141, the information reproducing device 122, or the information recording and reproducing device 140. Then, the digital sound source signal is transferred via the I/O data lines 146 and EISA bus 126 to the sound bluster board 127, which converts the signal into an analog signal and outputs the resulting signal at a speaker 129.

[0150] (Dedicated DSP 137)—When a special process needs to be executed at high speed, a DSP 137 board only for the process can be connected to bus lines.

[0151] (SCSI interface)—A SCSI interface is frequently used for the input and output of information with an external storage device. The SCSI board 138 performs protocol conversion or transfer information format conversion in order to transfer the SCSI format information inputted and outputted from and to an external storage device, such as an information backup MT (magnetic tape) 142, an external stand-alone HDD 141, or the information recording and reproducing device 140, to the PCI bus 133 or EISA bus 126.

[0152] (Board only for information compression and expansion)—Multimedia information, including sound, still pictures, and moving pictures, is subjected to information compression. The compressed information is recorded in the HDDs 121, 141, and information recording and reproducing device 140 (information reproducing device 122). The information recorded in the HDDs 121, 141, information recording and reproducing device 140, and information reproducing device 122 is expanded. The expanded information is displayed on the CRT display 116 or is used to drive the speaker 129. In addition, the audio signal inputted from the microphone 128 is subjected to information compression. The compressed information is recorded in the HDDs 121, 141, or information recording and reproducing device 140.

[0153] Various types of dedicated boards are responsible for the function of compressing and expanding information. An audio coding/decoding board 136 compresses and expands music and speech signals. An MPEG board 134 compresses and expands moving pictures (video pictures). A JPEG board 135 compresses and expands still pictures.

[0154] 5B—Explanation of connection of the personal computer with an external network

[0155] 5B-1—Explanation of network connection using telephone lines

[0156] When the information needs to be transferred via a telephone line f to the outside world, a modem 131 is used. Specifically, to connect to the desired called party by telephone, an NCU (Network Control Unit) (not shown) transmits the called-party's telephone number to the telephone exchange via the telephone line f. After the telephone line has been connected, the serial I/F controller 130 causes transfer information format conversion and protocol conversion of the information on the I/O data lines 146. The resulting digital signal, or RS-232C signal, is converted by the modem 131 into an analog signal, which is transferred to the telephone line f.

[0157] 5B-2—Explanation of network connection using IEEE 1394

[0158] When multimedia information, including sound, still pictures, and moving pictures, is transferred to an external device (not shown), the IEEE 1394 interface is suitable for this purpose.

[0159] If the necessary information about moving pictures or sound cannot be sent in a specific period of time, the movement of the picture will be awkward or the sound will break off. To solve the problem, IEEE 1394 has employed an isochronous transfer method where data transfer is completed at intervals of 125 μs. In IEEE 1394, although the isochronous transfer is allowed to mix with normal asynchronous transfer, the upper limit of the asynchronous transfer time in one cycle is a maximum of 63.5 μs. The reason for this is that, if the asynchronous transfer time were too long, isochronous transfer could not be guaranteed. In IEEE 1394, SCSI commands (instruction set) can be used as they are.

[0160] An IEEE 1394 I/F board 132 subjects the information transmitted over the PCI bus 133 to information format conversion for isochronous transfer, protocol conversion, automatic setting in topology, such as setting nodes, and other processes.

[0161] As described above, the IEEE 1394 I/F board 132 not only transfers the information in the personal computer system 110 as an IEEE 1394 signal g to the outside world but also converts the IEEE 1394 signal g sent from the outside world and transfers the resulting signal to the PCI bus 133.

[0162] 5B-3—Explanation of network connection using LAN

[0163] In local area information communication in a specific area, such as a company, a government office, or a school, LAN signals are inputted and outputted using LAN cables (not shown).

[0164] Communication protocols using LANs include TCP/IP and NetBEUI. Each type of protocol has its own data packet structure (or information format structure. The LAN board 139 causes the information format conversion of the information transferred over the PCI bus 133 and carries out the procedure process of communication with the outside world according to each type of protocol.

[0165] As an example, explanation will be given about the procedure for a case where a specific piece of file information recorded in the HDD 121 is converted into a LAN signal h and the LAN signal is transferred to an external personal computer, EWS, or a network server (not shown) and about the information transfer route. Under the control of the IDE controller 120, the file directory recorded in the HDD 121 is outputted. The main CPU 111 records the resulting file list into the main memory 112 and displays the same list on the CRT display 116. When the user enters the file name the user wants to transfer from the keyboard 119, its contents are recognized by the main CPU 111 via the keyboard controller 118. When the main CPU 111 informs the IDE controller 120 of the file name to be transferred, the HDD judges the information recorded location therein and accesses the location. Then, the HDD transfers the playback information via the IDE controller 120 to the I/O data lines 146. After the file information has been inputted from the I/O data lines 146 to the PCI bus controller 143, the file information is transferred via the PCI bus 133 to the LAN board 139. After the LAN board 139 has established a session with the transfer destination through a series of communication procedures, it takes in the file information from the PCI bus 133, converts the information into pieces of information with a data packet structure, and then transfers the resulting signals as LAN signals h to the outside world.

[0166] 5C—Explanation of information transfer from the information reproducing device or information recording and reproducing device (optical disk device)

[0167] 5C-1—Explanation of standard interface and information transfer route

[0168] When the information reproducing device 122, a playback-only optical disk, such as a CD-ROM or a DVD-ROM, or the information recording and reproducing device, a recordable and reproducible optical disk, such as a DVD-RAM, a PD, or an MD, is incorporated into the personal computer 110, IDE, SCSI, and IEEE 1394 are available as standard interfaces.

[0169] In general, the PCI bus controller 143 or the EISA bus controller 144 has DMA therein. Control of DMA enables information to be transferred directly between individual blocks without the intervention of the main CPU 111.

[0170] For example, when the information in the information recording and reproducing device 140 is transferred to the MPEG board 134, the main CPU 111 only gives a transfer instruction to the PCI bus controller 143 and leaves the information transfer management to the DMA in the PCI bus controller. As a result, in parallel with actual information transfer, the main CPU can execute another process without bothering with the information transfer process.

[0171] Similarly, when the information recorded in the information reproducing device 122 is transferred to the HDD 141, the main CPU 111 only gives a transfer instruction to the PCI bus controller 143 or IDE controller 120 and leaves the remaining information transfer management to the defect management area (DMA) in the PCI bus controller 143 or the DMA in the IDE controller 120.

[0172] 5C-2—Explanation of the function of authentication

[0173] Although the DMA in the PCI bus controller 143, the DMA in the EISA bus controller 144, or the DMA in the IDE controller 120 manages the information transfer process related to the information recording and reproducing device 140 or information reproducing device 122 as described above, the authentication function section of the information recording and reproducing device 140 or information reproducing device 122 executes actual transfer processes.

[0174] In a DVD system, such as a DVD video, DVD-ROM, or DVD-R, video and audio bit streams are recorded in the MPEG-2 program stream format. The audio streams, video streams, sub-picture streams, private streams, and others are recorded in a mixed manner. In reproducing the information, the information recording and reproducing device 140 separates and extracts the audio streams, video streams, sub-picture streams, private streams, and others from a program stream and transfers the extracted streams via the PCI bus 133 directly to the audio coding/decoding board 136, MPEG board 134, or JPEG board 135 without the intervention of the main CPU 111.

[0175] Similarly, the information reproducing device 122 separates and extracts various types of stream information from the reproduced program stream and transfers each piece of stream information via the I/O data lines 146 and PCI bus 133 directly (without the intervention of the main CPU 111) to the audio coding/decoding board 136, MPEG board 134, or JPEG board 135.

[0176] Each of the audio coding/decoding board 136, MPEG board 134, and JPEG board 135 includes the authentication function as the information recording and reproducing device 140 and information reproducing device 122 do. Before information transfer, the work of authentication is done via the PCI bus 33 (and the I/O data lines 146) between the information recording and reproducing device 140 and information reproducing device 122 and the audio coding/decoding board 136, MPEG board 134, and JPEG board 135. After the mutual authentication has been completed, the video stream information reproduced at the information recording and reproducing device 140 or information reproducing device 122 is transferred only to the MPEG board 134. Similarly, the audio stream information is transferred only to the audio coding/decoding board 136. The still picture stream is sent to the JPEG board 135 and the private stream and text information are sent to the main CPU 111.

[0177] Table 4 shows the classification of embodiments of the present invention.

[0178] There are nine embodiments of the present invention which realize the functions (effects) needed in recording AV information shown in Table 1 and Table 2.

[0179] Symbols used to distinguish between the embodiments include XX, XX-PS, LBN/ODD, LBN/ODD-PS, LBN/UDF, LBN/UDF-PS, LBN/UDF-CDAFi, LBN/XXX, and LBN/XXX-PS. In Table 4, the characteristic function of each embodiment is summarized.

[0180] The leftmost column lists a case where logical block numbers (LBN) are not set for a defective location and a spare area and a case where logical block numbers are set for the latter. When logical block numbers are not set for a defective location and a spare area, the defect management information is written in the defect management information area (DMA).

[0181] The top row lists a case where an extra spare area is not secured beforehand in creating a contiguous data area (CDA) and a case where an extra spare area is secured. The rightmost column lists a management location and management method of an unused area in an AV file.

[0182] Table 5 lists the effects produced when the individual embodiments are used.

[0183] Before explanation of concrete embodiments of the present invention, an embodiment where a DVD-RAM disk is used as an information storage medium and a universal disk format (UDF) is used as a file system will be explained.

[0184] First, a DVD-RAM disk will be explained before explanation of concrete embodiments of the present invention.

[0185]FIG. 2 is a diagram to help explain the layout of the schematic recorded contents of a DVD-RAM disk. The lead-in area 607 on the disk inner edge side is composed of an embossed data zone 611 where the optical reflecting surface is uneven, a mirror zone 612 where the surface is a flat mirror, and a rewritable data zone 613 where information can be rewritten. The embossed data zone 611 includes a reference signal zone 635 representing a reference signal and a control data zone 655 as shown in FIG. 3. The mirror zone 612 includes a connection zone 657.

[0186] The rewritable data zone 613 includes a disk test zone 658, a drive test zone 660, a disk identification zone 662 with the disk ID (identifier), and a defect management area (DMA1 and DMA2) 663.

[0187]FIG. 4 shows a lead-out area 609 on the disk outer edge side. The lead-out area 609 is composed of a rewritable data zone 645 including a defect management area (DMA3 and DMA4) 691, a disk identification zone 692 with the disk ID (identifier), a drive test zone 694, and a disk drive test zone 695.

[0188] The data area 608 between the lead-in area 607 and lead-out area 609 is divided into 24 tree-ring-like zone (00) 620 to zone (23) 643. When the disk is rotated, each zone has a constant rotational speed. The rotational speed, however, differs from zone to zone. In addition, the number of sectors constituting each zone differs from one zone to another. Specifically, zone (00) 620 and others on the disk inner edge side are faster in the rotational speed and smaller in the number of sectors. On the other hand, zone (23) 643 and others on the disk outer edge side are slower in the rotational speed and larger in the number of sectors. Such a layout realizes high-speed access as seen in the rotation with a constant angular velocity (CAV) in each zone. From the viewpoint of the zones as a whole, such high-density recording by rotation with a constant linear velocity (CLV) is realized.

[0189]FIGS. 3 and 4 are diagrams to help explain the details of the lead-in area 607 and lead-out area 609 in the layout of FIG. 2.

[0190] In the control data zone 655 of the embossed data zone 611, the following have been recorded: a book type and part version 671 indicating the type of DVD standards applied (e.g., DVD-ROM, DVD-RAM, or DVD-R) and a part version), a disk size and minimum read-out rate 672 indicating the disk size and minimum read-out rate, a disk structure 673 indicating a disk structure, such as a single-layer ROM disk, a single-layer RAM disk, or a two-layer ROM disk, recording density 674 indicating the recording density, a data area location 657 representing the location where data has been recorded, a burst cutting area (BCA) descriptor 676 in which the serial number and others unique to each information storage medium have been recorded in a non-rewritable manner, velocity 677 indicating the linear velocity condition for specifying the exposure in recording, read power 678 representing the exposure for the information storage medium in playback, peak power 679 representing the maximum exposure to the information storage medium to create a recording mark in recording, bias power 680 representing the maximum exposure to the information storage medium in deletion, and information about the manufacture of the medium.

[0191] In other words, information on the whole information storage medium, such as physical sector numbers representing the recording start and recording end locations, information including recording power, recording pulse width, delete power, playback power, and linear velocity in recording and deleting, information about recording, reproducing, and deleting characteristics, and information about the manufacture of the information storage medium, such as the serial number of each disk, have been recorded beforehand in the control data zone 655.

[0192] The rewritable data zones 613, 645 of the lead-in area 607 and lead-out area 609 are provided with disk identification zones 662, 692 for each disk, trial recording zones (drive test zones 660, 694 and disk test zones 659, 695 for checking the conditions for recording and deleting), and management information recording areas (defect management areas DMA1 & DMA2 663 and DMA3 & DMA4 691) pertaining to a defective area in the data area, respectively. Use of these zones enables best recording to be done on each disk.

[0193]FIG. 5 is a diagram to help explain the details of the data area 608 in the layout of FIG. 2.

[0194] Twenty-four groups are allocated to every 24 zones. Each group includes a pair of a user area 723 used for data recording and a spare area 724 used for a replacing process. The pair of a user area 723 and a spare area 724 is separated by guard areas 771, 772 zone by zone. Moreover, the user area 723 and spare area 724 in each group fit in zones with the same rotational speed. Smaller group numbers belong to the high-speed rotation zone and larger group numbers belong to the low-speed rotation zone.

[0195] Although the groups in the low-speed rotation zone have more sectors than those in the high-speed rotation zone, the low-speed rotation zone has a larger radius of gyration and therefore the physical recording density on the disk becomes almost uniform all over the zone (or the groups).

[0196] In each group, the user area 723 is positioned at a smaller sector number (or on the inner edge side of the disk) and the spare area 724 is positioned at a larger sector number (or on the outer edge side of the disk).

[0197] Next, explanation will be given about the recording signal structure of information recorded on a DVD-RAM disk serving as an information storage medium and about a method of creating the recording signal structure. Here, the contents of information recorded on the medium themselves are called “information” and the structure or expression after information with the same contents has been scrambled or modulated, or the connection between state “1” and state “0” after the signal mode has been converted, is expressed as “signal.” In this way, “information” and “signal” are used to discriminate between them suitably.

[0198]FIG. 6 is a diagram to help explain the structure of a sector included in the data area part of FIG. 5. One sector 501 a of FIG. 6 corresponds to one of the sector numbers of FIG. 5 and contains 2048 bytes as shown in FIG. 7. Each sector includes headers 573, 574 recorded beforehand in an uneven manner, such as an embossed manner, on the recording surface of the information storage medium (DVD-RAM disk) (not shown) at its head and further includes synchronous codes 575, 576 and modulated signals 577, 578 alternately.

[0199] Next, a method of processing error correction code (ECC) blocks in a DVD-RAM disk will be explained.

[0200]FIG. 7 is a diagram to help explain the recording units of information (or the units of error correction code) included in the data area 608 of FIG. 2.

[0201] In FAT (file allocation table) widely used in a file system for information storage mediums (hard disks HDD or magneto-optical disks MO) for personal computers, information is recorded onto an information storage medium in the smallest units of 256 bytes or 512 bytes.

[0202] In contrast, such an information storage medium as a CD-ROM, DVD-ROM, or DVD-RAM uses UDF (Universal Disk Format), explained in detail later, as a file system and records information on an information storage medium in the smallest units of 2048 bytes. The smallest unit is called a sector. Specifically, in an information storage medium using UDF, information is recorded in units of 2048 bytes in each sector 501 as shown in FIG. 7.

[0203] Since a CD-ROM and a DVD-ROM are handled in a bare manner without using a cartridge, the surface of the information storage medium is liable to be damaged or dust tends to adhere to the surface on the user side. The effect of dust stuck to or a flaw in the surface of the information storage medium might prevent a specific sector (for example, sector 501 c in FIG. 7) from being reproduced from (or recorded onto).

[0204] DVD has employed an error correction method (ECC using product code) taking such a situation into account. Specifically, 16 sectors (in FIG. 7, 16 sectors from sector 501 a to sector 501 p) constitute one ECC block 502, which is provided with a powerful error correction function. As a result, for example, even if such an error has occurred in ECC block 502 as prevents sector 501 c from being reproduced from, the error is corrected and all the information in ECC block 502 can be reproduced correctly.

[0205]FIG. 8 shows the relationship between zones and groups (see FIG. 5) in the data area 608 of FIG. 2.

[0206] The individual zones in FIG. 2, zone (00) 620 to zone (23) 643, are positioned physically on the recording surface of a DVD-RAM disk. As written in the column for physical sector number 604 of FIG. 2 and in FIG. 8, the physical sector number of the first physical sector (start physical sector 701) in the user area (00) 705 in the data area 608 is set to 031000h (h: means hexadecimal representation). The physical sector number increases as the location is closer to the outer edge 704. Consecutive physical sector numbers are allocated, regardless of user area (00) 705, user area (01) 709, user area (23) 707, spare area (00) 708, spare area (01) 709, spare area (23) 710, and guard areas 711, 712, 713. Consequently, the continuity of physical sector numbers holds over zone 620 to zone 643.

[0207] In contrast, group 714 is composed of a pair of user area 705 and spare area 708, group 715 is composed of a pair of user area 706 and spare area 709, and group 716 is composed of a pair of user area 707 and spare area 710. Guard area 711 is inserted between groups 714 and 715. Guard areas 712, 713 are inserted between groups 715 and 716. As a result, the physical numbers extending over the groups 714, 715, 716 are discontinuous. For example, because guard area 711 exists between groups 714 and 715, the physical sector numbers between groups 714 and 715 are discontinuous.

[0208] When a DVD-RAM disk with the configuration of FIG. 8 is used in an information recording and reproducing device with an information recording and reproducing section (physical system block) explained later, the rotational speed of the DVD-RAM disk can be switched, while an optical head 202 is passing over guard areas 711, 712, 713. For example, while the optical head 202 is passing over guard area 711, seeking from group (00) 705 to group (01) 715, the rotational speed of the DVD-RAM disk is switched.

[0209]FIG. 9 is a diagram to help explain a method of setting logical sector numbers in the data area 608 of FIG. 2. The smallest unit of logical sector coincides with the smallest unit of physical unit and contains 2048 bytes. Each logical sector is allocated to the corresponding physical sector location according to the following rule.

[0210] As shown in FIG. 8, because the guard areas 711, 712, 713 are provided physically on the recording surface of the DVD-RAM, the physical sector numbers extending over the groups 714, 715, 716 are discontinuous. The logical sector numbers, however, are set in such a manner that they succeed one another consecutively, extending over group (00) 714, group (01) 715, and group (23) 716. In the arrangement of group (01) 715 to group (23) 716, smaller group numbers (smaller physical sector numbers) are positioned on the inner edge side of the DVD-RAM disk (on the lead-in area 607 side) and larger group numbers (larger physical sector numbers) are located on the outer edge side of the DVD-RAM disk (on the lead-out area 609 side).

[0211] In the arrangement, when there is no defect in the recording surface of the DVD-RAM disk, the individual logical sectors are allocated to all the physical sectors in user area (00) 705 to user area (23) 707 of FIG. 8 with a one-to-one correspondence. The logical sector number of the sector at the location of the start physical sector number 701 whose physical sector number is 031000h is set to 0h (refer to the column for the logical sector number 774 of the first sector in each group of FIG. 5).

[0212] As described above, where there is no defect in the recording surface, no logical sector number has been set for each sector in spare area (00) 708 to spare area (23) 710 beforehand.

[0213] At the time of a certify process, the process of sensing the location of a defect in the recording surface, carried out before recording on the DVD-RAM disk, or of playback, or when a defective sector has been found in user area (00) 705 to user area (23) 707 in recording, as many logical sector numbers as are equal to the number of sectors substituted are set for the corresponding sectors in spare area (00) 708 to spare area (23) 710 as a result of the switching process.

[0214] Next, several methods of processing a defect occurred in the user area will be explained. Before that, the defect management area necessary to process a defect (the defect management area (DMA1 to DMA 4 663, 691) in FIG. 3 or 4) and its related matters will be explained.

[0215] (Defect Management Area)

[0216] A defect management area (DAM1 to DMA4663, 691) includes information on the structure of a data are and defect management and contains 32 sectors. Two defect management areas (DMA1, DMA2 663) are located in the lead-in area 607 on the DVD-RAM disk the other two defect management areas (DMA3, DMA4 691) are positioned in the lead-out area 609 on the DVD-RAM disk. Spare sectors are added behind each of the defect management areas (DMA1 to DMA4 663, 691), if necessary.

[0217] Each of the defect management areas (DMA1 to DMA4 663, 691) is divided into two blocks. The first block of each of the defect management areas (DMA1 to DMA4 663, 691) includes a DVD-RAM disk definition structure (DDS) and a primary defect list (PDL). The second block of each of the defect management areas (DMA1 to DMA4 663, 691) includes a secondary defect list (SDL). The four primary defect lists (PDL) of the four defect management areas (DMA1 to DMA4 663, 691) have the same contents and their four secondary defect lists (SDL) also have the same contents.

[0218] Although the four disk definition structures (DDS) of the four defect management areas (DMA1 to DMA4 663, 691) have basically the same contents, the four defect management areas differ in the pointers to their PDL and SDL.

[0219] Here, a DDS/PDL block means the first block including DDS and PDL. An SDL block means the second block including SDL.

[0220] The contents of each of the defect management areas (DMA1 to DMA4 663, 691) after the DVD-RAM disk has been initialized are as follows:

[0221] (1) The first sector of each DDS/PDL block includes DDS.

[0222] (2) The second sector of each DDS/PDL block includes PDL.

[0223] (3) The first sector of each SDL block includes SDL.

[0224] The block length of a primary defect list PDL and that of the secondary defect list are determined by the number of entries. The unused sectors in each of the defect management areas (DMA1 to DMA4 663, 691) are written with the data 0FFh until they are filled with the data 0FFh. Moreover, all the spare sectors are written with 00h until they are filled with 00h.

[0225] (Disk Definition Information)

[0226] The disk definition structure is composed of a table with a length of one sector. The DDS includes a method of initializing the disk 10 and the contents that determine the start address of PDL and that of SDL. The DDS is recorded in the first sector of each defect management area (DMA) at the end of initializing the disk 10.

[0227] (Spare Sector)

[0228] A defective sector in each data area 608 is replaced with (switched to) a good sector by a specific defect management method (verification, slipping replacement, skipping replacement, and linear replacement explained layer). The locations of the spare sectors for replacement are included in spare area (00) 708 to spare area (23) 710 of each group. The physical sectors in each spare area are written in the column for the spare area 724 of FIG. 5.

[0229] A defective sector is processed by a slipping replacement algorithm, a skipping replacement algorithm, or a linear replacement algorithm. The total of entries listed in the PDL and SDL by these algorithms is set at a specific number, for example, 4092 or less.

[0230] (Initialization and Certification)

[0231] Before the user information is recorded in the data area 608 on the DVD-RAM disk, the data area 608 is often initialized to certify the defect state of all the sectors in the data area 608. According to the number of consecutive defective sectors, the slipping replacement algorithm or linear replacement algorithm supplements the defective sectors in the user area 723 with spare sectors in the spare area 274. When all the spare sectors in the zones on the DVD-RAM have been used up in the middle of certification, the DVD-RAM disk is judged to be defective. Thereafter, the DVD-RAM disk is not supposed to be used.

[0232] The parameters in all the disk definition structures DDS are recorded in the four DDS sectors. The primary defect list PDL and secondary defect list SDL are recorded in the four defect management areas (DMA1 to DMA4 663, 691). In the first initialization, the update counter in the SDL is set to 00h and all the reserved blocks are written with 00h until they are filled with 00h.

[0233] When the disk 10 is used to store computer data, the initialization and certification are performed. When it is used for video recording, video recording might be done without performing initialization and certification.

[0234] In FIG. 10, a and b indicate diagrams to help explain the slipping replacement algorithm in the data area 608 of FIG. 2.

[0235] Immediately after the manufacture of DVD-RAM disks (when no user information has been recorded on disks), or when user information is recorded for the first time (that is, when information is not recorded over an already recorded location, but is recorded in an unrecorded area for the first time), the slipping replacement algorithm is applied as a defect processing method.

[0236] Specifically, the found defective data sectors (for example, m defective sectors 731) are replaced with good sectors (user area 723 b) first encountered after the defective sectors (replacement algorithm 734). As a result, slipping is done by m sectors toward the end of the relevant group (backward shift in the logical sector numbers). Similarly, thereafter, when n defective sectors 732 are found, the defective sectors are replaced with good sectors (user area 723 c) first encountered after the defective sectors. The locations at which logical sector numbers are set are shifted backward. As a result of the replacement, logical sector numbers are allocated to m+n sectors 737, beginning at the start of the spare area 724, thereby forming a user information recordable area. Consequently, the unused area 726 in the spare area 724 is decreased by m+m sectors.

[0237] At this time, the addresses for the defective sectors are written in the primary defect list (PDL) and the user information is prohibited from being recorded in the defective sectors. If no defective sector has been found during certification, nothing will be written in the PDL. Similarly, if a defective sector has been also found in the recording area 743 in the spare area 724, the address for the spare sector will be also written in the PDL.

[0238] As a result of the slipping replacement algorithm, the user areas 723 a to 723 c without defective sectors and the recording area 743 in the spare area 724 become the information recording part (logical sector number setting area 735) of the group, to which consecutive logical sector numbers are allocated.

[0239] In FIG. 10, c indicates a diagram to help explain the skipping replacement algorithm, another replacement algorithm, in the data area 608 of FIG. 2.

[0240] The skipping replacement algorithm is a processing method suitable for defect processing in a case where user information, such as video information or audio information, needs to be recorded seamlessly without a break. The skipping replacement algorithm is executed in units of 16 sectors, that is, in ECC blocks (that is, in units of 32 kilobytes since one sector contains 2 kilobytes).

[0241] For example, if one defective ECC block 741 has been found after the user area 732 a composed of good ECC blocks, the data to be recorded in the defective ECC block 741 will be recorded in an ECC block in a good user area 723 b just behind instead (replacement algorithm 744). Similarly, if k consecutive defective ECC blocks 742 have been found, the data to be recorded in these defective blocks 742 will be recorded in k consecutive ECC blocks in a good user area 723 c just behind instead.

[0242] In this way, when an 1+k number of defective ECC blocks have been found in the user area in the relevant group, (1+k) ECC blocks eat into the spare area 724 and the extended area 743 used to record information in the spare area 724 becomes a user information recordable area, to which a logical sector number is allocated. As a result, the unused area 726 in the spare area 724 decreases by (1+k) ECC blocks, with the result that the remaining unused area 746 become smaller.

[0243] As a result of the replacement, the user areas 723 a to 723 c are free from defective ECC blocks and the extended area used for information recording becomes the information recording part (logical sector number setting area) in the group. The logical sector number setting method is characterized in that the user areas 723 a to 723 c free from defective ECC blocks are such that their logical sector numbers allocated beforehand in the initial setting (before the replacement process) remain unchanged.

[0244] As a result, a logical sector number allocated beforehand to each physical sector in the defective ECC block 741 in the initial setting is moved as it is and set in the first physical sector in the extended area 743 used for information recording. The logical sector numbers allocated to the individual physical sectors in the k consecutive defective ECC blocks 742 in the initial setting are moved in parallel as they are and set in the relevant physical sectors in the extended area 743 used for information recording.

[0245] In the skipping replacement algorithm, even if the DVD-RAM disk has not been certified beforehand, the replacement process can be performed on the defective sectors found in the course of recording the user information.

[0246] In FIG. 10, d indicates a diagram to help explain the linear replacement algorithm, still another replacement algorithm, in the data area 608 of FIG. 2.

[0247] The linear replacement algorithm is executed in units of 16 sectors, that is, in ECC blocks (or in units of 32 kilobytes). In the linear replacement algorithm, the defective ECC block 751 is replaced with a usable good spare block (the first alternative recording part 753 in the spare area 724) first encountered in the relevant group (replacement process 758). In the replacement process, not only the user information to be recorded in the defective ECC block 751 is recorded in the alternative recording part 753 in the spare area 724, but also the logical sector number setting location is also recorded as it is in the alternative recording part 753. Similarly, the user information and logical sector number setting location to be recorded in k consecutive defective ECC blocks 752 are moved to an alternative recording part 754 in the spare area 724.

[0248] In the linear replacement algorithm and skipping replacement algorithm, the address for the defective block and the address for the last replacement block are written into the SDL. When the replacement blocks listed in the SDL (secondary defect list) have turned out to be defective blocks, entries are made in the SDL using a direct pointer method. In the direct pointer method, the address for the replacement block is changed from the address for the defective block to a new one, thereby amending the entries in the SDL. To update the secondary defect list SDL, the update counter in the SDL is incremented by one.

[0249] (Writing)

[0250] When data is written in a sector in a group, the defective sectors listed in the primary defect list (PDL) are skipped. Then, by the aforementioned slipping replacement algorithm, the data to be written in the defective sector is written into a data sector encountered next. If the block to be written into has been listed in the secondary defect list (SDL), the data to be written into the block will be written into the spare block specified by the SDL according to the aforementioned linear replacement algorithm or skipping replacement algorithm.

[0251] In the environment of a personal computer, the linear replacement algorithm is used to record personal computer files and the skipping replacement algorithm is used to record AV files.

[0252] (Primary Defect List PDL)

[0253] Although the primary defect list (PDL) is always recorded in a DVD-RAM disk, the contents of the list may be empty.

[0254] The PDL includes the addresses for all the defective sectors determined in the initialization. These addresses are listed in ascending order. The PDL is recorded in the necessary minimum number of sectors. The PDL starts at the first user byte in the first sector. All the unused bytes in the last sector in the PDL are set to 0FFh. In the PDL, the following information is written:

[0255] Byte Location : Contents of PDL

[0256] 0 00h: PDL identifier

[0257] 1 01h: PDL identifier

[0258] 2 The number of addresses in PDL: MSB

[0259] 3 The number of addresses in PDL: LSB

[0260] 4 Address for the first defective sector (sector number: MSB)

[0261] 5 Address for the first defective sector (sector number)

[0262] 6 Address for the first defective sector (sector number)

[0263] 7 Address for the first defective sector (sector number: LSB)

[0264] x-3 Address for the last defective sector (sector number: MSB)

[0265] x-2 Address for the last defective sector (sector number)

[0266] x-1 Address for the last defective sector (sector number)

[0267] x Address for the last defective sector (sector number)

[0268] * NOTE: When the second byte and third bytes are set to 00h, the third byte is at the end of the PDL.

[0269] In the case of a primary defect list (PDL) for multi-sectors, an address list of defective sectors follows the first byte in the second or later sectors. Namely, the PDL identifier and the number of PDL addresses exist only in the first sector. When the PDL is empty, the second byte and third byte are set to 00h and the fourth byte to the 2047^(th) byte are set to FFh.

[0270] The unused sectors in the DDS/PDL block are written with FFh.

[0271] (Secondary Defect List SDL)

[0272] The secondary defect list (SDL) is created at the initializing stage and used after a Certify operation. In initialization, the SDL is recorded onto all the disks.

[0273] The SDL includes entries in the form of the addresses for defective data blocks and the addresses for spare blocks to be replaced with the defective blocks. Eight bytes are allocated to each entry in the SDL. Specifically, of the eight bytes, four bytes are allocated to the addresses for defective blocks and the remaining four bytes are allocated to the addresses for replacement blocks.

[0274] The address list includes the first address for the defective blocks and that for their replacement blocks. The addresses for the defective blocks are assigned in ascending order.

[0275] The SDL is recorded in the necessary minimum number of sectors. The SDL starts at the first user data byte in the first sector. All the unused bytes in the last sector in the SDL are set to 0FFh. The pieces of information after that are recorded in each of the four SDLs.

[0276] When the replacement blocks listed in the SDL have turned out to be defective blocks, entries are made in the SDL using a direct pointer method. In the direct pointer method, the address for the replacement block is changed from the address for the defective block to a new one, thereby amending the entries in the SDL in which the replaced defective block has been registered. At that time, the number of entries in the SDL is not be changed by the degraded sectors.

[0277] In the SDL, the following information is written:

[0278] Byte Location : Contents of SDL

[0279] 0 (00): SDL identifier

[0280] 1 (01): SDL identifier

[0281] 2 (00)

[0282] 3 (01)

[0283] 4 Update counter: MSB

[0284] 5 Update counter

[0285] 6 Update counter

[0286] 7 Update counter: LSB

[0287] 8-26 Spares (00h)

[0288] 27-29 Flags indicating that all the spare sectors in the zone have been used up

[0289] 30 The number of entries in the SDL: MSB

[0290] 31 The number of entries in the SDL: LSB

[0291] 32 The address for the first defective block (sector number: MSB)

[0292] 33 The address for the first defective block (sector number)

[0293] 34 The address for the first defective block (sector number)

[0294] 35 The address for the first defective block (sector number: LSB)

[0295] 36 The address for the first replacement block (sector number: MSB)

[0296] 37 The address for the first replacement block (sector number)

[0297] 38 The address for the first replacement block (sector number)

[0298] 39 The address for the first replacement block (sector number: LSB)

[0299] y-7 The address for the last defective block (sector number: MSB)

[0300] y-6 The address for the last defective block (sector number)

[0301] y-5 The address for the last defective block (sector number)

[0302] y-4 The address for the last defective block (sector number: LSB)

[0303] y-3 The address for the last replacement block (sector number: MSB)

[0304] y-2 The address for the last replacement block (sector number)

[0305] y-1 The address for the last replacement block (sector number)

[0306] y The address for the last replacement block (sector number: LSB)

[0307] * NOTE: Each entry at the 30^(th) and 31^(st) byte has an eight-byte length. In the case of a secondary defect list (SDL) for multi-sectors, an address list of defective sectors and replacement blocks follows the first byte in the second or later sectors. Namely, the 0^(th) byte to 31^(st) byte in the SDL exist only in the first sector. The unused sectors in the SDL block are written with FFh.

[0308] Here, a device for recording or reproducing information onto or from the information storage medium (disk) will be explained.

[0309]FIG. 11 is a black diagram showing an example of the configuration of the information recording and reproducing section (physical system block) of an information recording and reproducing device.

[0310] Explanation of the basic functions of the information recording and reproducing section

[0311] The information recording and reproducing section records new information or rewrites the information (or deletes the information) at a specific position on an information storage medium (optical disk) 201, using a condensed spot of a laser beam. The section further reproduces the already recorded information at a specific position on the information storage medium 201, using the condensed spot of the laser beam.

[0312] Explanation of means for achieving the basic functions of the information storage section

[0313] To achieve the basic functions, the recording and reproducing section causes the condensed spot to trace (or follow) the track on the information storage medium 201. The section changes the amount (or intensity) of light of the condensed spot projected on the information storage medium 201, thereby switching between the recording, reproducing, and deleting of information. In addition, the section converts an externally supplied recording signal d into a signal most suitable for recording in a high density at a low error rate.

[0314] Explanation of the structure of the mechanical part and the operation of the sensing part

[0315] <Basic structure of optical head 202 and signal sensing circuit>

[0316] <Sensing a signal by optical head 202>

[0317] The optical head 202 is basically composed of a semiconductor laser element serving as a light source, a photodetector, and an objective. The laser light emitted from the semiconductor laser element is gathered by the objective onto the information storage medium (optical disk) 201. The laser light reflected from the reflecting film or reflective recording film of the information storage medium 201 is photoelectrically converted by the photodetector.

[0318] The sense current obtained by the photodetector is converted by an amplifier 213 into a voltage, which is a sense signal. The sense signal is processed at a focus/track error sensing circuit 217 or a binarization circuit 212.

[0319] In general, the photodetector is divided into light sensing areas and senses a change in the amount of light projected onto each light sensing area. The focus/track error sensing circuit 217 performs addition or subtraction on each sense signal, thereby sensing a shift in focus and a shift in track. After a shift in focus and a shift in track have been virtually eliminated, the photodetector senses a change in the amount of reflected light from the reflecting film or reflective recording film of the information storage medium, thereby reproducing the signal on the information storage medium 201.

[0320] <Method of sensing a shift in focus>

[0321] Methods of sensing the amount of a shift in focus include the following:

[0322] (Astigmatism method)—A method of placing an optical element (not shown) for causing astigmatism in an optical path where the laser light reflected by the reflecting film or reflective recording film of the information storage medium 201 is sensed and of sensing a change in the shape of the laser light projected on the photodetector. The light sensing area is quadrisected diagonally. The focus/track error sensing circuit 217 finds out the sum of the sense signals from the sensing areas on each diagonal and calculates the difference between the sums, thereby obtaining a focus error sense signal.

[0323] (Knife edge method)—A method of placing a knife edge for asymmetrically shutting off part of the laser light reflected by the information storage medium 201. The light sensing area is bisected. The difference between the sense signals obtained from the respective sensing areas is calculated, thereby obtaining a focus error sense signal.

[0324] Generally, either the astigmatism method or knife edge method is used.

[0325] <Method of sensing a shift in track>

[0326] The information storage medium 210 has a spiral or concentric track, on which information is recorded. A condensed spot is caused to trace the track, thereby reproducing, recording, or deleting the information. To cause the condensed spot to trace the track stably, it is necessary to optically sense a relative positional gap between the track and condensed spot.

[0327] Methods of sensing a shift in track include the following:

[0328] (Phase difference sensing method)—A method of sensing a change in the intensity distribution on the photodetector of the laser light reflected by the reflecting film or reflective recording film of the information storage medium (optical disk) 201. The light sensing area is quadrisected diagonally. The focus/track error sensing circuit 217 finds out the sum of the sense signals from the sensing areas on each diagonal and calculates the difference between the sums, thereby obtaining a track error sense signal.

[0329] (Push-pull method)—A method of sensing a change in the intensity distribution on the photodetector of the laser light reflected by the information storage medium 1201. The light sensing area is bisected. The difference between the sense signals obtained from the respective sensing areas is calculated, thereby obtaining a track error sense signal.

[0330] (Twin-spot method)—A method of placing a diffraction grating and the like in a light guiding system between the semiconductor laser element and the information storage medium 201, dividing the light into wave surfaces, and sensing changes in the amount of reflected light of the first-order diffraction light projected on the information storage medium 201. In addition to the light sensing area for sensing playback signals, there are provided light sensing areas that sense the amount of reflected light of the+ first-order diffraction light and the amount of reflected light of the−first-order diffraction light separately. The difference between the respective sense signals is calculated, thereby obtaining a track error signal.

[0331] <Objective actuator structure>

[0332] The objective (not shown) that condenses the laser light emitted from the semiconductor laser element on the information storage medium 201 is designed to be movable in the directions of two axes according to the output current of an objective actuator driving circuit 218. The objective moves in the following two directions: it moves in the direction perpendicular to the information storage medium 201 to correct a shift in focus; and it moves across the radius of the information storage medium 201 to correct a shift in track.

[0333] The moving mechanism (not shown) of the objective is called an objective actuator. The following are often used for the objective actuator structure:

[0334] (Shaft sliding method)—A method of allowing a blade integral with the objective to move along the center shaft. In this method, the blade moves along the center shaft, thereby correcting a shift in focus. The blade rotates on the center shaft, thereby correcting a shift in track.

[0335] (Four-wire method)—A method of moving a blade integral with the objective in the directions of two axes making use of elastic deformation of the wires, the blade being connected to a fixed system with four wires.

[0336] Both of the above methods have a structure that has a permanent magnet and a coil and moves the blade by causing current to flow through the coil connected to the blade.

[0337] <Rotational control system of information storage medium 201>

[0338] The information storage medium (optical disk) 201 is mounted on a turntable 221, which is rotated by the driving force of a spindle motor 204.

[0339] The number of revolutions of the information storage medium 10 is sensed from the playback signal obtained from the information storage medium 201. Specifically, the sense signal (analog signal) of the output of the amplifier 213 is converted by the binarization circuit 212 into a digital signal. From the digital signal, a PLL circuit 211 generates a constant period signal (reference clock signal). Using the signal, an information storage medium rotational speed sensing circuit 214 senses the number of revolutions of the information storage medium 201 and outputs the value.

[0340] A correspondence table of the number of revolutions of the information storage medium corresponding to the positions on the radius on the information storage medium 201 to be reproduced from or recorded onto/deleted from has been recorded beforehand in a semiconductor memory 219. Once the reproduce position or record/delete position has been determined, a control section 220 refers to the semiconductor memory 219, sets the target number of revolutions of the information storage medium 201, and informs an spindle motor driving circuit 215 of the value.

[0341] The spindle motor driving circuit 215 calculates the difference between the target number of revolutions and the output signal (the present number of revolutions) of the information storage medium rotational speed sensing circuit 214, supplies a driving current to the spindle motor 204 according to the result, and performs control so that the number of revolutions of the spindle motor 204 becomes constant. The output signal of the information storage medium rotational speed sensing circuit 214 is a pulse signal having a frequency corresponding to the number of revolutions of the information storage medium 201. The spindle motor driving circuit 215 performs control (frequency control and phase control) of both the frequency of the pulse signal and the pulse phase.

[0342] <Optical head moving mechanism>

[0343] The mechanism has an optical headmoving mechanism (feed motor) 203 for moving the optical head 202 across the radius of the information storage medium 201.

[0344] A rod-like guide shaft is often used as a guide mechanism for moving the optical head 202. The guide mechanism moves the optical head 202 making use of friction between the guide shaft and the bush provided on part of the optical head 202. Instead, bearings may be used which decrease friction force using a rotary motion.

[0345] Although a method of transmitting the driving force to move the optical head 202 is not shown, it is such that a rotary motor with a pinion (rotating gear) is provided on the fixed system, a rack, a linear gear that engages with the pinion, is provided on one side of the optical head 202, and the rotary motion of the rotary motor is converted into a linear motion of the optical head 202. Another driving force transmitting method is such that a permanent magnet is provided on the fixed system, current is caused to flow the coil mounted on the optical head 202, and the optical head is moved linearly.

[0346] Both of the rotary motor and linear motor methods basically cause current to flow through the feed motor, thereby producing driving force for driving the optical head 202. The driving current is supplied from a motor driving circuit 216.

[0347] <Function of each circuit>

[0348] <Condensed spot trace control>

[0349] To correct a shift in focus or a shift in track, there is provided an objective actuator driving circuit 218 that supplies a driving current to the objective actuator (not shown) in the optical head 202 according to the output signal (sense signal) of the focus/track error sensing circuit 217. To make the movement of the objective respond at high speed as far as a high-frequency region, the driving circuit 218 includes a phase compensating circuit for improving characteristics according to the frequency characteristic of the objective actuator.

[0350] Under the control of the control section 220, the objective actuator driving circuit 218 carries out the following:

[0351] (a) The process of turning on and off the operation of correcting a shift in focus and track (focus/track loop).

[0352] (b) The process of moving the objective in the vertical direction (focus direction) of the information storage medium 201 (executed when the focus/track loop is off).

[0353] (c) The process of slightly moving the objective across the radius of the information storage medium 201 (in the direction in which the spot traverses the track), thereby moving the condensed spot to an adjacent track. Kick pulses are used.

[0354] <Laser light amount control>

[0355] <Switching between reproduce and record/delete>

[0356] Switching between reproduce and record/delete is done by changing the amount of light of the condensed spot projected on the information storage medium 201.

[0357] In the case of an information storage medium using a phase change method, the following relations generally holds:

(the amount of light in recording)>(the amount of light in deleting)>(the amount of light in reproducing)  (1)

[0358] In the case of an information storage medium using a magneto-optical method, the following relationship generally holds:

(the amount of light in recording)≈(the amount of light in deleting)>(the amount of light in reproducing)  (2)

[0359] In the magneto-optical method, the polarity of an external magnetic field (not shown) applied to the information storage medium 201 is changed in recording/deleting, thereby controlling the processes of recording and deleting.

[0360] In reproducing information, a constant amount of light is projected continuously on the information storage medium 201.

[0361] To record new information, a pulse-like intermittent amount of light is added to the amount of light in reproducing. When the semiconductor laser element emits pulses with a large amount of light, the reflective recording film of the information storage medium is changed optically or in shape, thereby forming a recording mark. To write information over an already recorded area, the semiconductor laser element is caused to emit pulses in a similar manner.

[0362] To delete the already recorded information, light with a constant amount of light greater than in reproducing is projected continuously. When the information is deleted continuously, the amount of light projected is returned to that in reproducing at specific intervals of time, such as at intervals of each sector and the information is reproduced intermittently in parallel with the deleting process. By reproducing the track numbers and addresses of the tracks deleted intermittently, the deleting process is executed, while a check is being made to see if there is no error in the deleted tracks.

[0363] <Laser light-emitting control>

[0364] Although not shown, the optical head 202 includes a photodetector for sensing the amount of light emitted by the semiconductor laser element. A laser driving circuit 205 calculates the difference between the output of the photodetector (the sense signal of the amount of light emitted by the semiconductor laser element) and the light-emission reference signal supplied from a record/reproduce/delete control waveform generator circuit 206 and, on the basis of the result, performs feedback control of the driving current to the semiconductor laser.

[0365] <Various operations related to the control system of the mechanical part>

[0366] <Start-up control>

[0367] After the information storage medium (optical disk) 201 has been put on the turntable 221 and start-up control has been started, processes are carried out through the following procedure:

[0368] (1) The control section 220 informs the spindle motor driving circuit 215 of the target number of revolutions. Then, the spindle motor driving circuit 215 supplies a driving current to the spindle motor 204. The spindle motor 204 then starts to rotate.

[0369] (2) At the same time, the control circuit 220 sends a command (execute instruction) to the feed motor driving circuit 216. The feed motor driving circuit 216 then supplies a driving current to the optical head driving mechanism (feed motor) 203, which moves the optical head 202 to the innermost edge position of the information storage medium 10. As a result, a check is made to see if the optical head 202 has exceeded the area in which the information has been recorded on the information storage medium 201 and reached a further inner edge portion.

[0370] (3) When the spindle motor 204 has reached the target number of revolutions, its status (situation report) is sent to the control section 220.

[0371] (4) The semiconductor laser driving circuit 205 supplies current to the semiconductor laser element in the optical head 202 according to the reproduce light-amount signal sent from the control section 220 to the record/reproduce/delete control waveform generator circuit 206, which starts laser light emission.

[0372] The optimum amount of light projected in reproducing differs, depending on the type of the information storage medium (optical disk) 201. At start-up, the value of current supplied to the semiconductor laser element is set to the value corresponding to the smallest one of the amounts of light projected.

[0373] (5) The objective actuator driving circuit 218 controls the objective according to the command from the control section 220 in such a manner that it moves the objective (not shown) in the optical head 202 farthest from the information storage medium 201 and then brings the objective closer to the information storage medium 201 gradually.

[0374] (6) At the same time, the focus/track error sensing circuit 217 monitors the amount of shift in focus and, when the objective comes closer to the position at which the objective is in focus, sends the status to tell the control section 220 that the objective has come closer to the focal point.

[0375] (7) Receiving the notice, the control section 220 sends a command to the objective actuator driving circuit 218 to turn on the focus loop.

[0376] (8) With the locus loop on, the control section 220 sends a command the feed motor driving circuit 216, which then moves the optical head 202 toward the outer edge of the information storage medium 201 gradually.

[0377] (9) At the same time, the control section monitors the playback signal from the optical head 202 and, when the optical head 202 has reached the recording area on the information storage medium 201, stops the movement of the optical head 202, and sends a command to the object lens actuator driving circuit 218 to turn on the track loop.

[0378] (10) Then, “the optimum amount of light in reproducing” and “the optimum amount of light in recording/deleting recorded” recorded on the inner edge part of the information storage medium 201 are reproduced and the resulting information is recorded in the semiconductor memory 219 via the control section 220.

[0379] (11) The control section further sends a signal corresponding to “the optimum amount of light in reproducing” to the record/reproduce/delete control waveform generator circuit 206 and sets again the amount of light emitted by the semiconductor laser element in reproducing.

[0380] (12) Then, according to “the optimum amount of light in recording/deleting” recorded on the information storage medium 201, the amount of light emitted by the semiconductor laser element in recording/deleting is set.

[0381] <Access control>

[0382] Information as to at what location the information recorded on the information storage medium to be accessed has been recorded on the information storage medium and as to what contents the information has differs, depending on the type of the information storage medium 201. For example, on a DVD disk, such information is recorded in the directory management area or in a navigation pack on the information storage medium 201.

[0383] The directory management area is generally recorded in a lump in the inner edge area or outer edge area of the information storage medium 201. A navigation pack is included in a data unit called VOBU (video object unit) in VOBS (video object set) complying with the data structure of PS (program stream) in MPEG 2. In the navigation pack, information as to where the next picture is recorded is recorded.

[0384] To reproduce or record/delete a specific piece of information, the information in the above area is reproduced and the access destination is determined from the obtained information.

[0385] <Rough access control>

[0386] The control section calculates the position of the radium at the access destination and determines the distance between the present position of the optical head 202 and the calculated position.

[0387] Information about the speed curve by which the optical head 202 can arrive at the destination in the shortest time has been recorded in the semiconductor memory 219 beforehand. The control section 220 reads the information and controls the movement of the optical head 202 as follows.

[0388] After the control section 220 has sent a command to the objective actuator driving circuit 218 to turn off the track loop, it controls the feed motor driving circuit 216 to cause the optical head 202 to start moving.

[0389] When the condensed spot traverses the track on the information storage medium 201, the focus/track error sensing circuit 217 generates a track error sense signal. Using the track error sense signal, the relative speed of the condensed spot to the information storage medium 201 can be sensed.

[0390] The feed motor driving circuit 216 calculates the relative speed of the condensed spot from the focus/track error sensing circuit 217 and the target speed information constantly sent from the control section 220 and, on the basis of the result, moves the optical head 202, while applying feedback control to the driving current to the optical head driving mechanism (feed motor) 203.

[0391] As described in item <Optical head moving mechanism>, friction force is always acting between the guide shaft and bush or bearings. Although kinetic friction acts when the optical head 202 is moving at high speed, statical friction acts at the beginning of movement and just before it comes to a stop because the optical head 202 moves at low speed. When the static friction acts (especially, just before the head stops), the friction force increases relatively. To cope with an increase in the friction force, the amplification factor (gain) of the control system is increased by a command from the control section 220 to increase the current supplied to the optical head driving mechanism (feed motor) 203.

[0392] <Fine access control>

[0393] After the optical head 202 has reached the target position, the control section 220 sends a command to the objective actuator driving circuit 218, thereby turning on the track loop.

[0394] While tracing the track on the information storage medium 201, the condensed spot reproduces the addresses or track numbers at that part.

[0395] From the addresses or track numbers, the position of the present condensed spot is determined. The number of erroneous tracks from the target position to be reached is calculated at the control section 220, which informs the objective actuator driving circuit 218 of the number of tracks across which the condensed spot has to move.

[0396] When the objective actuator driving circuit 218 generates a set of kick pulses, the objective moves slightly along the radius of the information storage medium 201 and the condensed spot moves to the adjacent track.

[0397] The objective actuator driving circuit 218 turns off the track loop temporarily and generates as many kick pulses as meet the information from the control circuit 220 and thereafter turns on the track loop again.

[0398] After the fine access has been completed, the control section 220 reproduces the information (address or track number) at the position where the condensed spot is tracing and makes sure that the target track is being accessed.

[0399] <Continuous recording/reproducing/deleting control>

[0400] The track error sense signal outputted from the focus/track error sensing circuit 217 is inputted to the feed motor driving circuit 216. At the time of “start-up control” or “access control,” the control section 220 prevents the feed driving circuit 216 from using the track error sense signal.

[0401] After having confirmed that the condensed spot has reached the target track as a result of the access, the control section 220 sends a command to supply part of the track error sense signal as a driving current via the motor driving circuit 216 to the optical head driving mechanism (feed motor) 203. This control is continued during the time when reproducing or recording/deleting is being done continuously.

[0402] The information storage medium 201 is put in such a manner that its center position is off-centered slightly from the center position of the turntable 221. When part of the track error sense signal is supplied as a driving current, the whole optical head 202 moves slightly according to the eccentricity.

[0403] When reproducing or recording/deleting is done continuously for a long time, the position of the condensed spot moves gradually toward the outer edge or inner edge. When part of the track error sense signal is supplied as a driving current to the optical head moving mechanism (feed motor) 203, the optical head 202 moves gradually toward the outer edge or inner edge accordingly.

[0404] By easing the objective actuator of the burden of correcting a shift in the track, the track loop can be stabilized.

[0405] <End Control>

[0406] To end the operation after a series of processes has been completed, processing is done through the following procedure:

[0407] (1) The control section 220 sends a command to turn off the track loop to the objective actuator driving circuit 218.

[0408] (2) The control section 220 sends a command to turn off the focus loop to the objective actuator driving circuit 218.

[0409] (3) The control section 220 sends a command to stop the semiconductor laser element from emitting light to the record/reproduce/delete control waveform generator circuit 206.

[0410] (4) The spindle motor driving circuit 215 is informed that the reference number of revolutions is 0.

[0411] <Flow of recording signal/playback signal to the information storage medium>

[0412] <Flow of signal in reproducing>

[0413] <Binarization/PLL circuit>

[0414] As described in item <Signal sensing by optical head 202>, a change in the amount of reflected light from the reflecting film or reflective recording film of the information storage medium (optical disk) 201 is sensed, thereby reproducing the signal on the information storage medium 201. The signal obtained b the amplifier 213 has an analog waveform. The binarization circuit 212 uses a comparator to convert the analog signal into a binary digital signal composed of “1” and “0.”

[0415] From the playback signal obtained at the binarization circuit 212, the PLL 211 extract a reference signal for playback of information. Specifically, the PLL circuit 211 includes an oscillator capable of varying frequency and compares the frequency and phase of the pulse signal (reference clock) outputted from the oscillator with those of the output signal of the binarization circuit 212. The result of the comparison is fed back to the output of the oscillator, thereby producing the reference signal for reproducing information.

[0416] <Demodulation of signal>

[0417] A demodulation circuit 210 includes a conversion table showing the relationship between the modulated signals and the demodulated signals. Referring to the conversion table in synchronization with the reference clock obtained at the PLL circuit 211, the demodulation circuit 210 returns the input signal (modulated signal) to the original signal (demodulated signal). The demodulated signal is stored in the semiconductor memory 219.

[0418] <Error correcting process>

[0419] An error correction circuit 209 senses errors in the signal stored in the semiconductor memory 219 using internal code PI and external code PO and sets the pointer flags for the error positions. Thereafter, while reading out the signals from the semiconductor memory 219, the error correction circuit corrects the signals at the error positions one after another according to the error pointer flags, and then records post-error-correction information in the semiconductor memory 219 again.

[0420] When the information reproduced from the information storage medium 201 is outputted as playback signal c to the outside world, the internal code PI and external code PO are removed from the post-error-correction information recorded in the semiconductor memory. The resulting information is transferred via a bus line 224 to a data I/O interface 222. The data I/O interface 222 outputs the signal sent from the error correction circuit 209 as playback signal c.

[0421] <Signal form recorded on the information storage medium 201>

[0422] The signals recorded on the information storage medium are required to fulfill the following:

[0423] (a) They must be capable of correcting errors in the recorded information due to defects in the information storage medium.

[0424] (b) The direct-current components of their playback signals must be made “0” to simplify the reproducing circuit.

[0425] (c) They must be recorded in such a manner that the information is recorded as densely on the information storage medium 201 as possible.

[0426] To meet the requirements, the information recording and reproducing section (physical system block) achieves “addition of an error correction function” and “signal conversion of recorded information (modulation/demodulation of signal).”

[0427] <Flow of signal in recording>

[0428] <Error correction code ECC adding process>

[0429] An error correction code ECC adding process will be explained. Information d to be recorded on the information storage medium 201 is inputted in the form of a row signal to the data I/O interface 222. The recording signal d is recorded as it is in the semiconductor memory 219. Thereafter, an ECC encoder 208 executes the following ECC additional process.

[0430] Hereinafter, a concrete example of an ECC adding method using a product code will be explained.

[0431] In the semiconductor memory 219, recording signal d is arranged row by row at intervals of 172 bytes and 192 rows forms one ECC block (172-byte row×192-byte column gives 32 kilobytes of information). For the raw signal (recording signal d) in one ECC block composed of “172-byte row×192-byte column,” 10-byte internal code PI is calculated at intervals of a 172-byte row and the result is recorded in the semiconductor memory additionally 219. In addition, 16-byte external code PO is calculated at intervals of one column in bytes and the result is recorded in the semiconductor memory 219 additionally.

[0432] Then, using a total of 23366 bytes (=(12+1)× (172+10)) consisting of 12 rows including a 10-byte internal code PI (12×(172+10) bytes) and one row of external code PO (1×(172+10) bytes) as a unit, the information subjected to the error correction code ECC adding process is recorded in a sector on the information storage medium 10.

[0433] After internal code PI and external code PO have been added, the ECC encoder 208 transfers the information to the semiconductor memory temporarily. When information is recorded on the information storage medium 201, the signal is transferred in units of a sector of 2336 bytes to the semiconductor memory 219.

[0434] <Signal modulation>

[0435] Signal conversion, or conversion of signal form, is caused in a modulation circuit 207 to bring the direct-current component (SDV: Digital Sum Value or Digital Sum Variation) of the playback signal closer to “0” and record information on the information storage medium 211 at high density. Each of the modulation circuit 207 and demodulation circuit 210 includes a conversion table showing the relationship between the original signal and the modulated signal.

[0436] The modulation circuit 207 segments the signal transferred from the ECC encoder 208 in units of bits according to a specific modulation method and converts them into another signal (code) referring to the conversion table. For example, when 8/16 modulation (RLL (2, 10) code) is used as a modulation method, two types of conversion table exist. Reference is made switching between the two conversion tables in such a manner that the direct-current component (DSV) after the modulation gets closer to “0.”

[0437] <Recording waveform generation>

[0438] When a recording mark is recorded on the information storage medium (optical disk) 201, the following are generally used as a recording method:

[0439] (Mark length recording method) “1” is placed at the beginning and end of the recording mark.

[0440] (Mark-to-mark recording method) The center position of the recording mark coincides with the position of “1.”

[0441] To use mark length recording, it is necessary to form a relative long recording mark. In this case, when a large amount of light for recording continues to be projected on the information storage medium 10 for longer than a specific period of time, the heat-accumulating effect of the reflective recording film of the information storage medium 201 causes only the rear of the mark to get wider, forming a raindrop-like recording mark. To avoid this drawback, when a long recording mark is formed, the recording laser driving signal is divided into recording pulses or the recording waveform of the recording laser is changed to a step-like waveform.

[0442] According to the recording signal sent from the modulation circuit 207, the record/reproduce/delete control waveform generator circuit 206 creates the aforementioned waveform and sends a driving signal with the recording waveform to the semiconductor laser driving circuit 205.

[0443] Here, the flow of signals between blocks in the recording and reproducing device will be summarized as follows:

[0444] (1) Input of a raw signal to be recorded to the information recording and reproducing device

[0445] The configuration of the information recording and reproducing section (physical system block) is exemplified. In the information recording and reproducing section, the sections related to the processes of recording and reproducing information onto and from the information storage medium (optical disk) 201 in the information recording and reproducing device are put together. The recording signal d sent from a host computer, such as PC (personal computer) or EWS (engineering workstation) is inputted to an information recording and reproducing section (physical system block) 101 by way of the data I/O interface 222.

[0446] (2) Process of dividing recording signal d at intervals of 2048 bytes

[0447] The data I/O interface 222 divides the recording signal d time-sequentially at intervals of 2048 bytes and adds data ID 510 and thereafter carries out a scrambling process. The resulting signal is sent to the ECC encoder 208.

[0448] (3) Creating an ECC block

[0449] The ECC encoder 208 forms a block of “172 bytes× 192 columns” by putting together 16 groups of the signals obtained by scrambling the recording signals and then adds internal code PI (internal parity code) and external code PO (external parity code).

[0450] (4) Interleaving process

[0451] Thereafter, the ECC encoder 208 carries out the interleaving process of external code PO.

[0452] (5) Signal modulation process

[0453] The modulation circuit 207 modulates the signal obtained by interleaving external code PO and then adds a synchronizing code.

[0454] (6) Recording waveform creating process

[0455] According to the resulting signal, the record/reproduce/delete control waveform generator circuit 206 creates a recording waveform and sends the waveform to the laser driving circuit 205.

[0456] Because the information storage medium (DVD-RAM disk) 201 has employed the “mark length recording” method, the rising timing and falling timing of the recording pulse coincide with the timing of “1” of the modulated signal.

[0457] (7) The process of recording information on the information storage medium (optical disk) 10

[0458] The amount of light of the laser light projected from the optical head 202 and condensed on the recording film of the information storage medium (optical disk) 201 is varied intermittently, thereby forming a recording mark at the recording film of the information storage medium (optical disk) 201.

[0459]FIG. 12 is a flowchart to help explain an example of the operation of setting logical block numbers for a DVD-RAM disk or the like. Explanation will be given by reference to FIG. 11, too.

[0460] When the information storage medium (optical disk) 201 is put on the turntable 221 (step ST131), the control section starts to rotate the spindle motor 204 (step ST132).

[0461] After the information storage medium (optical disk) 201 has started rotating, the optical head 202 starts to emit laser light (step ST133) and the objective focus servo loop in the optical head 202 is turned on (step ST134).

[0462] After laser light has been emitted, the control section 220 causes the feed motor 203 to operate, thereby moving the optical head 202 to the lead-in area 607 of the information storage medium (optical disk) 201 now rotating (step ST135). Then, the objective track servo loop in the optical head 202 is turned on (step ST136).

[0463] After the track servo has become active, the optical head 202 reproduces the information in the control data zone 655 (see FIG. 3) in the lead-in area 607 on the information storage medium (optical disk) 201 (step ST137). Reproducing the book type and part version 671 in the control zone 655, the optical head has confirmed that the information storage medium (optical disk) 201 now being rotated is a recordable medium (DVD-RAM disk or DVD-R disk) (step ST138). Here, the medium 10 is assumed to be a DVD-RAM disk.

[0464] After it is confirmed that the information storage medium (optical disk) 201 is a DVD-RAM disk, information about the optimum amount of light for reproducing, recording, or deleting (such as the light-emitting power and light-emitting period or duty ratio or the like of the semiconductor laser) is reproduced from the control zone 655 to be reproduced (step ST139).

[0465] Thereafter, the control section 220 creates a conversion table (see FIG. 5) for physical sector numbers and logical sector numbers, provided that there is no defect in the DVD-RAM now being rotated (step ST140).

[0466] After the conversion table has been created, the control section 220 reproduces the defect management area DMA1/DMA2 663 in the lead-in area 607 and the defect management area DMA3DMA4 691 in the lead-out area 609 on the information storage medium (optical disk) 201 and checks the distribution of defects in the information storage medium (optical disk) 201 at that point of time (step ST141).

[0467] Once having known the distribution of defects in the information storage medium (optical disk) 201 from the defect distribution check, the control section 220 corrects the conversion table created on the assumption that there is no defect at step ST140, according to the actual distribution of defects (step ST142). Specifically, in each of the parts where it has become clear that there is a defect, the logical sector number LSN corresponding to the physical sector number PSN is shifted.

[0468]FIG. 13 is a flowchart to help explain an example of the operation of processing defects in a DVD-RAM disk or the like (the process on the drive side). The flowchart of FIG. 13 will be explained by reference to FIG. 11, too. First, for example, the begin logical block number LBN of the information to be recorded on the medium (for example, DVD-RAM disk) now installed in the drive and the file size of the information to be recorded are specified to the MPU in the control section 220 (step ST151).

[0469] Then, the MPU of the control section 220 calculates the begin logical sector number LSN for the information to be recorded from the specified begin logical block number LBN (step ST152). From the calculated begin logical sector number LSN and specified file size, the write logical sector number to the information storage medium (optical disk) 201 is determined.

[0470] Next, the MPU of the control section 220 not only writes a recording information file in the specified address on the DVD-RAM disk 201 but also checks for a defect in the disk 201 (step ST153).

[0471] When no defect has been found in the course of writing the file, this means that the recording information file has been recorded in a specific logical sector number with no abnormality (that is, without the occurrence of errors) and the recording process is completed properly (step ST155).

[0472] On the other hand, if a defect has been found in the course of writing the file, a specific replacement process, for example, a linear replacement algorithm, will be executed (step ST156).

[0473] After the replacement process, the newly sensed defect is registered additionally in DMA1/DMA2 663 of the lead-in area 607 and DMA3/DMA4 691 of the lead-in area 607 on the disk (see FIGS. 3 and 4) (step ST157). After the defect has been registered additionally in DMA1/DMA2 663 and DMA3/DMA4 691 on the information storage medium (optical disk) 201, the contents of the conversion table created at step ST140 of FIG. 12 are corrected on the basis of what has been registered in DMA1/DMA2 663 and DMA3/DMA4 691 (step ST158).

[0474] Next, UDF, a type of file system, will be explained by reference to FIGS. 14 and 15.

[0475] (A-1)

[0476] UDF is the abbreviation for universal disk format and shows “the rule for file management method” mainly in disk information storage mediums. CD-ROM, CD-R, CD-RW, DVD-Video, DVD-ROM, DVD-R, and DVD-RAM have employed the UDF format standardized in ISO 9660.

[0477] The file management method is based on a hierarchical file system where a root directory is provided as a parent and files are managed in tree form. Although the UDF format complying with the DVD-RAM standard (file system specifications) will be chiefly explained, most part of the explanation also coincides with the contents of the DVD-ROM standard.

[0478] (A-2)—Summary of UDF

[0479] (A-2-1) Contents of file information recorded on information storage medium

[0480] When information is recorded on an information storage medium, a block of information is called “file data.” Recording is done in units of file data. To distinguish between one file data item from another, each file data item is assigned a unique file name. Grouping file data items that have the common contents of information facilitates file management and file retrieval. Such a group of file data items is called “directory” or “folder.” Each directory is assigned a unique directory name (folder name). The directories may be collected into a high-order directory (high-order folder) as a group at a higher level of hierarchy. Here, the filed data and directory are generically called a file.

[0481] To record information, all the information about the following is recorded on an information storage medium:

[0482] Contents of file data items themselves

[0483] File name corresponding to the file data

[0484] Storage location of the file data (under which directory recording is done)

[0485] In addition, all the following information about each directory (folder) is also recorded on the information storage medium:

[0486] Directory name (folder name)

[0487] Location (location of a higher-order directory (higher-order folder) acting as its parent) to which each directory (folder) belongs

[0488] (A-2-2) information recording form on information storage medium

[0489] All the recording area on an information storage medium is divided into logical sectors using the smallest unit of 2048 bytes. All the logical sectors are assigned logical sector numbers in sequence. When information is recorded on the information storage medium, information is recorded in logical sectors. The recording locations on the information storage medium are managed by the logical sector numbers of the logical sectors in which the information has been recorded.

[0490] As shown in FIGS. 14 and 15, logical sectors in which information about a file structure 486 and file data 487 have been recorded are particularly called “logical blocks” and assigned logical block numbers (LBN) interlocking with logical sector numbers (LSN). (A logical block has 2048 bytes long as a logical sector does.)

[0491] (A-2-3) Simplified example of hierarchical file system

[0492] In FIG. 16, the letter a indicates a simplified example of a hierarchical file system.

[0493] The file management system of almost every OS, including UNIX, MacOS, MS-DOS, and windows, has a tree-like hierarchical structure as shown by a in FIG. 16.

[0494] For each disk drive (or each partition unit when a single HDD is divided into partitions), one root directly 401 acting as a parent for the whole drive exists. A subdirectory 401 belongs to the root directory. In the subdirectory 401, file data 403 exists.

[0495] There may be a case where file data 403 exists directly under the root directory 402 or where subdirectories 402 are connected in series to form a complex hierarchical structure.

[0496] (A-2-4) Contents of file management information recorded on the information storage medium

[0497] The file management information is recorded in logical blocks. The contents recorded in each logical block include mainly the following items marked with *:

[0498] Statement indicating information on files (FID as a file identification descriptor: file identification descriptor) The types of files and file names (including root directory name, subdirectory name, and file data name) are written in the statement. In the FID, the contents of the data in the file following it and the statement indicating the location where the contents of the directory (that is, the location where the FE (file entry) explained below corresponding to the corresponding file) are written.

[0499] Description of the location where the contents of a file are recorded (FE as file entry) The contents of the file data and the location (logical block number) on an information storage medium on which information about the contents of directories (such as subdirectories) have been recorded are written.

[0500]FIG. 21 shows an extract from the contents of the description of a file identification descriptor (explained later). Its detailed explanation will be given in “(B-4) Description of file identifier”

[0501] In a DVD-RAM, a logical block (sector size) contains 2048 bytes. A collection of logical blocks is called an extent. An extent is either one logical block or logical blocks assigned consecutive logical address numbers (LBN). To access the file data recorded on an information storage medium, pieces of information are read one by one according to the access route of FIG. 16 and access to the addresses (AD (*), LAD (*)) shown in the pieces of information is repeated, thereby accessing the desired file data.

[0502] Next, the statement indicating a recording location on the information storage medium uses a long allocation descriptor of FIG. 17 and a short allocation descriptor of FIG. 18A. FIG. 17 gives a general idea showing the basis relationship between a hierarchical file system structure and the contents of the information recorded on the information storage medium.

[0503] Their detailed explanation will be given in “(B-1-2) Long allocation descriptor” and “(B-1-3) Short allocation descriptor.”

[0504] The contents of the information with the file system structure indicated by a of FIG. 16 recorded on the information storage medium are as shown by b of FIG. 16. The contents of the record indicated by a of FIG. 16 are as follows.

[0505] The contents of the root directory 401 are written in the logical block with logical block number “1.”

[0506] Since in the example of a of FIG. 16, the root directory 401 includes only the subdirectory 402, information about the subdirectory 402 is written as the contents of the root directory 401 in the file identification descriptor statement 404.

[0507] Although not shown, information on the root directory 401 itself is also written in the file identification descriptor statement in the same logical block.

[0508] The location (the second logical block in the example of b of FIG. 16) where a file entry statement 405 showing where the contents of the subdirectory 402 have been recorded has been recorded is written (LAD (2)) in a long allocation descriptor statement in the file identification descriptor statement 404 in the subdirectory.

[0509] A file entry statement 405 showing the location where the contents of the subdirectory 402 have been recorded is recorded in the logical block with logical block number “2.”

[0510] —Since in the example of a of FIG. 16, the subdirectory 402 includes only the file data 403, the contents of the subdirectory 402 virtually indicate the location where a file identification descriptor statement 406 in which information about the file data 403 has been written.

[0511] In the short allocation (short allocation) descriptor statement in the file entry statement, the fact (AD (3)) that the contents of the subdirectory 402 have been recorded in the third logical block is written.

[0512] The contents of the subdirectory 402 are recorded in the logical block with logical block number “3.”

[0513] —Since in the example of a of FIG. 16, the subdirectory 402 includes only the file data 403, information about the file data 403 is written as the contents of the subdirectory 402 in the file identification descriptor statement 406. Although not shown, information on the subdirectory 402 itself is also written in the file identification descriptor statement in the same logical block.

[0514] The location (the fourth logical block in the example of b of FIG. 16) where a file entry statement 407 showing where the contents of the file data 403 have been recorded has been recorded is written (LAD (4)) in a long allocation descriptor statement in the file identification descriptor statement 404 related to the file data 403.

[0515] A file entry statement 407 showing the location where the contents 408, 409 of the file data 403 have been recorded is recorded in the logical block with logical block number “4.”

[0516] In the short allocation descriptor statement in the file entry statement 407, the fact that the contents 408, 409 of the file data 403 have been recorded in the fifth and sixth logical blocks is written ((AD (5), AD (6)).

[0517] The contents (a) 408 of the file data 403 are recorded in the logical block with logical block number “5.”

[0518] The contents (b) 409 of the file data 403 are recorded in the logical block with logical block number “6.”

[0519] (A-2-5)

[0520] A method of accessing the file data according to the information indicated by b of FIG. 16

[0521] As briefly explained in “(A-2-4) Contents of file system information recorded on the information storage medium,” the logical block numbers in which the subsequent information has been written are written in the file identification descriptors 404, 406 and file entries 405, 407. As the file data is reached by way of subdirectories, going down the hierarchy from the root directory, the contents of the file data are accessed by reproducing the pieces of information in the logical blocks on the information storage medium one by one according to the logical block numbers written in the file identification descriptor and file entry.

[0522] Specifically, To access file data item 403 for the information indicated by b of FIG. 16, the information in the first logical block is read for the first time.

[0523] Since the file data 403 exists in the subdirectory 402, after the information in the first logical block is searched for the file identification descriptor 404 in the subdirectory 402 and LAD (2) is read, the information in the second logical block is read according to LAD (2). Since only one file entry statement has been written in the second logical block, AD (3) in the second logical block is read and control proceeds to the third logical block. In the third logical block, the file identification descriptor 406 in which information about the file data 403 has been written is searched for and LAD (4) is read. According to LAD (4), control moves to the fourth logical block. Since only one file entry statement 407 has been written in the fourth logical block, AD (5) and AD (6) are read and the logical block numbers (the fifth and sixth ones) where the contents of the file data 403 have been recorded are found.

[0524] The contents of AD (*) and LAD (*) will be explained in detail in “(B) Concrete explanation of the contents of each statement (descriptor) in UDF.”

[0525] (A-3) Characteristics of UDF

[0526] (A-3-1) Explanation of the characteristic of UDF

[0527] Hereinafter, the characteristics of UDF will be explained in comparison with FAT used in HDD, FDD, or MO.

[0528] (1) UDF uses larger minimum units (including the smallest logical block size and smallest logical sector size) and is suitable for recording video information or music information that is large in the amount of information to be recorded.

[0529] The size of a UDF logical sector (block) is as large as 2048 bytes, whereas the size of a FAT logical sector is 512 bytes.

[0530] (2) While FAT causes a table for managing the allocation of files to an information storage medium (file allocation table) to be recorded collectively in a local part of the information storage medium, UDF allows the file management information to be recorded in a distributed manner in any location on the disk.

[0531] —In UDF, the locations where the file management information and file data are recorded on the disk are written in logical sector (block) numbers in an allocation descriptor.

[0532] Since FAT provides centralized management in the file management area (file allocation table), it is suitable for applications that requires the file structure to be changed frequently (mainly use for frequent rewriting) (because the management information is written in the intensive locations, it can be rewritten easily). Since the location where the file management information (file allocation table) is recorded has been determined beforehand, it is a precondition that the recording medium has a high reliability (or few defective areas).

[0533] Since in UDF, the file management information is placed in a distributed manner, there are few great changes in the file structure. UDF is suitable for applications that add a new file structure later (mainly additional recording use) in the lower part of the hierarchy (mainly the part below than the root directory) (because in the case of additional recording, few changes are made to the original file management information). Moreover, since the locations where the distributed file management information is recorded can be specified arbitrarily, recording can be done, avoiding congenital defective parts.

[0534] Since the file management information can be recorded in any location, all the file management information may be gathered and recorded in one place, producing the effect of FAT. Therefore, UDF can be considered to be a highly versatile file system.

[0535] (B) Concrete explanation of each statement (descriptor) in UDF

[0536] (B-1) Statement of logical block number

[0537] (B-1-1) Allocation descriptor

[0538] As described in “(A-2-4) Contents of file system information recorded on the information storage medium,” a statement included in part of a file identification descriptor or a file entry and indicating the location (logical block number) where the subsequent information has been recorded is called an allocation descriptor. Allocation descriptors include long allocation descriptors and short allocation descriptors explained below.

[0539] (B-1-2) Long allocation descriptors

[0540] As shown in FIG. 17, a long allocation descriptor is composed of the following:

[0541] The length of an extent 410—The number of logical blocks is expressed in four bytes.

[0542] The location of an extent 411—The corresponding logical block number is expressed in four bytes.

[0543] Implementation use 412—The information used in operation is expressed in eight bytes.

[0544] In the explanation, a long allocation descriptor is abbreviated as “LAD (logical block number).”

[0545] (B-1-3) Short allocation descriptors

[0546] As shown in FIG. 18A, a short allocation descriptor is composed of only the following:

[0547] The length of an extent 410—The number of logical blocks is expressed in four bytes.

[0548] The location of an extent 411. The corresponding logical block number is expressed in four bytes.

[0549] In the explanation, a short allocation descriptor is abbreviated as “AD (logical block number).”

[0550]FIG. 18B shows an example of description in the extent length 410. For example, the first two bits may indicate the attribute of the extent.

[0551] When the first two bits is “0,” this means an extent created by actually recording AV file data in the data area. When the first two bits is “1,” this means an unused extent secured in the data area in which AV file data is to be recorded. When the first two bits is “2,” this means that any extent has been neither recorded nor secured. When the first two bits is “3,” this means that the extent is an extent following the allocation descriptor. These pieces of information may be used in the long allocation descriptor of FIG. 17.

[0552] (B-2) Unlocated space entry

[0553] Unlocated space entry is used in a space table (see FIGS. 14 and 15), a statement that writes, for example, “the extent distribution of unrecorded state” on the information storage medium for each extent in short allocation descriptors as shown in FIG. 19 and arranges them. The concrete contents written in an unlocated space entry are as follows:

[0554] Descriptor tag 413—Represents the descriptor for the description, particularly “263” in this case.

[0555] ICB tag 414—Represents the file type.

[0556] When the file type=1 in the ICB tag, this means an unlocated space entry. When the file type=4, this means that the file is a directory. When the file type=5, this means that it is explained that the file is a sequence of bytes that may be accessed at random.

[0557] The total length of a string of allocation descriptors 415—The total number of bytes is expressed in four bytes.

[0558] (B-3) File entry

[0559] This is almost the same as the statement explained in “(A-2-4) Contents of file system information recorded on the information storage medium.

[0560] As shown in FIG. 20A, the following are written in the file entry:

[0561] Descriptor tag 417—Represents the descriptor for the description, particularly “261” in this case.

[0562] ICB tag 418—Represents the file type →the contents are the same as in (B-2).

[0563] Permissions 419—Represents record/reproduce/delete permission information by user. Used mainly to maintain the security of the file. When the user is allowed to access the information, he or she can access it.

[0564] Allocation descriptor 420 Writes the locations where the contents of the relevant file have been recorded by arranging short allocation descriptors for each extent.

[0565]FIG. 20B shows the file entry information in a hierarchical manner to summarize the above explanation. In the file entry (FE), at least the ICB tag and allocation descriptor are written. Moreover, the permission information and further information on the information length may be written. (See c in FIG. 44 explained later.)

[0566] In the field of the ICB tag, a field in which file types are to be written is further provided. In the file type field, a field in which identification of a real-time file, or an AV file, is to be written is secured. In the case of an AV file, file type=249 is written in this field.

[0567] When a volume set is composed of a single volume, a short allocation statement (see FIG. 18) is used in the allocation descriptor.

[0568] (B-4) File identification descriptor

[0569] This is almost the same as the statement explained in “(A-2-4) Contents of file system information recorded on the information storage medium. As shown in FIG. 21, the following are written in the file identification descriptor:

[0570] Descriptor tag 411—Represents the descriptor for the description, particularly “257” in this case.

[0571] File characteristic 422—Represents the type of file and means any one of parent directory, directory, file data, and file delete flag.

[0572] Information control block 423—The FE location corresponding to the file is written in long allocation descriptors.

[0573] File identifier 424—Directory name or file name.

[0574] Padding—Dummy area added to adjust the total length of the file identification descriptor and usually filled with “0.”

[0575] (C) Example of description of a file structure recorded on the information storage medium according to UDF

[0576] The contents of “(A-2) Summary of UDF” will be described in detail using a concrete example.

[0577]FIG. 22 shows a more common file system structure for a of FIG. 16. The numerals in the parentheses represent the logical block numbers on the information storage medium on which information about the contents of the directories or the contents of the file data have been recorded.

[0578] An example of recording information about the file system structure of FIG. 22 according to the UDF format is shown in the file structure 486 of FIGS. 14 and 15.

[0579] Methods of managing unrecorded locations on the information storage medium includes the following two methods:

[0580] Space bit map (space bit map) method

[0581] —Either a “recorded” flag or an “unrecorded” flag is set in a bit map manner for all the logical blocks in the recording area on the information storage medium using space bit map descriptors 470.

[0582] Space table (space table) method

[0583] —All the unrecorded logical block numbers are written in the form of a list of short allocation descriptors using a method of writing an unlocated space entry 471.

[0584] In the explanation of the present embodiment, although the two methods have been shown intentionally in FIGS. 14 and 15, actually however, the two methods are hardly used (recorded on the information storage medium) at the same time and only one of them is used.

[0585] An outline of the contents of the chief descriptors written in FIGS. 14 and 15 is as follows.

[0586] Beginning Extended area descriptor 445— Represents the start position of a volume recognition sequence.

[0587] Boot descriptor 447—Writes the contents of the process in booting.

[0588] Terminating Extended area descriptor 448 Represents the end position of the volume recognition sequence.

[0589] Partition (division) descriptor 450—Represents partition information (such as size). As a general rule, a DVD-RAM has a partition (part (division)) per volume.

[0590] Logical volume descriptor 454—Writes the contents of a logical volume.

[0591] Anchor volume descriptor 458—Indicates the locations where the main volume descriptor sequences 449 and 467 are recorded in the recording area of the information storage medium.

[0592] Reserved (all00h bytes) 459 to 465—Provides an adjusting area which is filled with “0” to secure logical sector numbers to record specific descriptors.

[0593] Reserved volume descriptor sequence 467—Backup area for the information recorded in the main volume descriptor sequence 449.

[0594] (D) A method of accessing the file data in reproduction

[0595] Explanation will be given about a method of accessing the information storage medium to reproduce the contents of, for example, file data H432 (see FIG. 22) using the file system information shown in FIGS. 14 and 15.

[0596] (1) The information in the boot descriptor 447 in the volume recognition sequence 444 area serving as the boot area at the time of starting the information recording and reproducing device or installing the information storage medium is reproduced.

[0597] (2) The process in booting is started according to the contents of the boot descriptor 447. When no process in booting is specified, the information in the logical volume descriptor (logical volume descriptor) 454 in the main volume description sequence (main volume descriptor sequence) 449 area is first reproduced.

[0598] (3) Logical volume contents use 455 has been written in the logical volume descriptor 454. In the logical volume contents use, the logical block number indicating the location where a file set descriptor 472 has been recorded has been written in the form of a long allocation descriptor (see FIG. 17). (In the example of FIGS. 14 and 15, it has been written in the 100^(th) logical block counting from LAD (100).)

[0599] (4) The 100^(th) logical block (or logical sector number 372) is accessed and the file set descriptor 472 is reproduced. In the root directory ICB 473 in the file set descriptor, the location (logical block number) where the file entry for the root directory A425 has been recorded has been written in the form of a long allocation descriptor (see FIG. 17). (In the example of FIGS. 14 and 15, it has been written in the 102^(nd) logical block counting from LAD (102).) According to LAD (102) in the root directory ICB473,

[0600] (5) According to LAD (102) in the root directory ICB 473, the 102^(nd) logical block is accessed. Then, the file entry 475 for the root directory A425 is reproduced and the location (logical block number) where information about the contents of the root directory A425 has been recorded is read (AD(103)).

[0601] (6) The 103^(rd) logical block is accessed and information about the contents of the root directory A425 is reproduced.

[0602] Because the file data H432 exists under the directory D428 system, the file identification descriptor for the directory D428 is searched for and the logical block number (LAD (110) although not shown in FIGS. 14 and 15) where the file entry for the directory D428 has been recorded is read.

[0603] (7) The 110^(th) logical block is accessed and the file entry 480 for the directory D428 is reproduced. Then, the location (logical block number) where information about the contents of the directory D428 has been recorded is read (AD(111)).

[0604] (8) The 111^(th) logical block is accessed and information about the contents of the directory D428 is reproduced.

[0605] Because the file data .H432 exists directly under the directory F430, the file identification descriptor for the subdirectory F430 is searched for and the logical block number (LAD (112) although not shown in FIGS. 14 and 15) where the file entry for the subdirectory F430 has been recorded is read.

[0606] (9) The 112^(th) logical block is accessed and the file entry 482 for the subdirectory F430 is reproduced. Then, the location (logical block number) where information about the contents of the subdirectory F430 has been recorded is read (AD(113)).

[0607] (10) The 113^(th) logical block is accessed and information about the contents of the subdirectory F430 is reproduced. Then, the file identification descriptor for the file data H432 is searched for. From the descriptor, the logical block number (LAD (114) although not shown in FIGS. 14 and 15) where the file entry for the subdirectory H432 has been recorded is read.

[0608] (11) The 114^(th) logical block is accessed and the file entry 484 for the file data H432 is reproduced. Then, the location where the contents of the file data H432 has been recorded is read.

[0609] (12) The information is read from the information storage medium in the order in which the logical block numbers have been written in the file entry 484 for the file data H432, thereby reading the contents of the file data H432.

[0610] (E) Method of changing the contents of specific file data

[0611] A processing method including a case where the contents of, for example, file data H432 are changed will be explained using the file system information shown in FIGS. 14 and 15.

[0612] (1) The difference between the volume of the contents of data before and after the file data H432 is changed is calculated. The resulting value is divided by 2048 bytes, thereby calculating beforehand how many additional logical blocks are needed or how many logical blocks are unnecessary.

[0613] (2) The information in the boot descriptor 447 in the volume recognition sequence 444 area serving as the boot area at the time of starting the information recording and reproducing device or installing the information storage medium is reproduced. The process in booting is started according to the contents of the boot descriptor 447.

[0614] When no process in booting is specified, control proceeds as follows.

[0615] (3) The partition (part (division)) descriptor 450 in the main volume descriptor sequence 449 area is reproduced and the information in the partition (division) contents use 451 written in the descriptor is read. The location where the space table or space bit map has been recorded is shown in the partition (division) contents use 451 (also referred to as partition (division) header descriptor).

[0616] The location of the space table is written in the column of the unallocated space table 452 in the form of a short allocation descriptor (AD(50) in the example of FIGS. 14 and 15).

[0617] The location of the space bit map table is written in the column of the unallocated space bit map 453 in the form of a short allocation descriptor (AD(0) in the example of FIGS. 14 and 15).

[0618] (4) The logical block number (0) where the space bit map read in (3) has been written is accessed. The space bit map information is read from the space bit map descriptor 470. Then, unregistered logical blocks are searched for and use of as many logical blocks as equal the result of calculation in item (1) is registered (the process of rewriting the space bit map descriptor 460 information). Alternatively,

[0619] (4′) The logical block number (50) where the space table read in (3) has been written is accessed. Then, USE(AD(*), AD(*), . . . , AD(*)) 471 in the space table is searched for unregistered logical blocks and use of as many logical blocks as equal the result of calculation in item (1) is registered (the process of rewriting the space table information).

[0620] Actually, either process (4) or process (4′) is carried out.

[0621] (5) Next, the information in the logical volume descriptor 454 in the main volume descriptor sequence 449 area is reproduced.

[0622] (6) The logical volume content use 455 has been written in the logical volume descriptor 454. In the descriptor, the logical block number indicating the location where the file set descriptor 472 has been recorded has been written in the form of a long allocation descriptor (FIG. 17). (In the example of FIGS. 14 and 15, the descriptor has been recorded in the 100^(th) logical block counting from LAD(100).)

[0623] (7) The 100^(th) logical block (or logical sector number 400) is accessed and the file set descriptor 472 is reproduced. In the root directory ICB473 in the descriptor, the location (logical block number) where the file entry for the root directory A425 has been recorded has been written in the form of a long allocation descriptor (see FIG. 16) (in the example of FIGS. 14 and 15, the file entry has been recorded in the 102^(nd) logical block counting from LAD(102)).

[0624] (8) According to LAD(102) in the root directory ICB473, the 102^(nd) logical block is accessed. Then, the file entry 475 for the root directory A425 is reproduced and the location (logical block number) where information about the contents of the root directory A425 has been recorded is read (AD(103)).

[0625] (9) The 103^(rd) logical block is accessed and information about the contents of the root directory A425 is reproduced.

[0626] Because the file data A432 exists under the directory D428 system, the file identification descriptor for the directory D428 is searched for and the logical block number (LAD(110) although not shown in FIGS. 14 and 15) where the file entry for the directory D428 has been recorded is read.

[0627] (10) The 110^(th) logical block is accessed. Then, the file entry 480 for the directory D428 is reproduced and the location (logical block number) where information about the contents of the directory D428 has been recorded is read (AD(111)).

[0628] (11) The 111^(th) logical block is accessed and information about the contents of the directory D428 is reproduced.

[0629] Because the file data H432 exists directly under the directory F430, the file identification descriptor for the subdirectory F430 is searched for and the logical block number (LAD (112) although not shown in FIGS. 14 and 15) where the file entry for the subdirectory F430 has been recorded is read.

[0630] (12) The 112^(th) logical block is accessed and the file entry 482 for the subdirectory F430 is reproduced. Then, the location (logical block number) where information about the contents of the subdirectory F430 has been recorded is read (AD(113)).

[0631] (13) The 113^(th) logical block is accessed and information about the contents of the subdirectory F430 is reproduced. Then, the file identification descriptor for the file data H432 is searched for. From the descriptor, the logical block number (LAD(114) although not shown in FIGS. 14 and 15) where the file entry for the subdirectory H432 has been recorded is read.

[0632] (14) The 114^(th) logical block is accessed and the file entry 484 for the file data H432 is reproduced. Then, the location where the contents of the file data H432 has been recorded is read.

[0633] (15) The contents 489 of the modified file data H432 are recorded, taking into account the logical block numbers registered additionally in either (4) or (4′).

[0634] (F) A method of deleting specific file data/directory

[0635] As an example, a method of deleting file data H432 or subdirectory F430 will be explained.

[0636] (1) The information in the boot descriptor 447 in the volume recognition sequence 444 area serving as the boot area at the time of starting the information recording and reproducing device or installing the information storage medium is reproduced.

[0637] (2) The process in booting is started according to the contents of the boot descriptor 447. When no process in booting is specified, the information in the logical volume descriptor 454 in the main volume description sequence 449 area is first reproduced.

[0638] (3) Logical volume contents use 455 has been written in the logical volume descriptor 454. In the logical volume contents use, the logical block number indicating the location where the file set descriptor 472 has been recorded has been written in the form of a long allocation descriptor (see FIG. 17) (in the example of FIGS. 14 and 15, it has been written in the 100^(th) logical block counting from LAD (100)).

[0639] (4) The 100^(th) logical block (or logical sector number 400) is accessed and the file set descriptor 472 is reproduced. In the root directory ICB 473 in the file set descriptor, the location (logical block number) where the file entry for the root directory A425 has been recorded has been written in the form of a long allocation descriptor (see FIG. 17) (in the example of FIGS. 14 and 15, it has been written in the 102^(nd) logical block counting from LAD (102)).

[0640] (5) According to LAD (102) in the root directory ICB 473, the 102^(nd) logical block is accessed. Then, the file entry 475 for the root directory A425 is reproduced and the location (logical block number) where information about the contents of the root directory A425 has been recorded is read (AD(103)).

[0641] (6) The 103^(rd) logical block is accessed and information about the contents of the root directory A425 is reproduced.

[0642] Because the file data H432 exists under the directory D428 system, the file identification descriptor for the directory D428 is searched for and the logical block number (LAD (110) although not shown in FIGS. 14 and 15) where the file entry for the directory D428 has been recorded is read.

[0643] (7) The 110^(th) logical block is accessed and the file entry 480 for the directory D428 is reproduced. Then, the location (logical block number) where information about the contents of the directory D428 has been recorded is read (AD(111)).

[0644] (8) The 111^(th) logical block is accessed and information about the contents of the directory D428 is reproduced.

[0645] Because the file data H432 exists directly under the directory F430, the file identification descriptor for the subdirectory F430 is searched for.

[0646] <To delete subdirectory F430, the process as described below is carried out>

[0647] “File delete flag” is set in the file characteristic 422 (see FIG. 21) in the file identification descriptor for the subdirectory F430.

[0648] The logical block number (LAD(112) although not shown in FIGS. 14 and 15) where the file entry for the subdirectory F430 has been recorded is read.

[0649] (9) The 112^(th) logical block is accessed and the file entry 482 for the subdirectory F430 is reproduced. Then, the location (logical block number) where information about the contents of the subdirectory F430 has been recorded is read (AD(113)).

[0650] (10) The 113^(th) logical block is accessed and information about the contents of the subdirectory F430 is reproduced. Then, the file identification descriptor for the file data H432 is searched for.

[0651] <To delete subdirectory H432, the process as described below is carried out>

[0652] “File delete flag” is set in the file characteristic 422 (see FIG. 21) in the file identification descriptor for the subdirectory F432. From the descriptor, the logical block number (LAD (114) although not shown in FIGS. 14 and 15) where the file entry for the subdirectory H432 has been recorded is read.

[0653] (11) The 114^(th) logical block is accessed and the file entry 484 for the file data H432 is reproduced. Then, the location where the contents of the file data H432 has been recorded is read.

[0654] <To delete subdirectory H432, the process as described below is carried out>

[0655] The logical blocks in which the contents of data 489 of the file data H432 have been recorded are released (or the logical blocks are registered in the unrecorded state).

[0656] (12) The partition (division) descriptor 450 in the main volume descriptor sequence 449 area is reproduced and the information in the partition (division) contents use 451 written in the descriptor is read. The location where the space table or space bit map has been recorded is shown in the partition (division) contents use 451 (also referred to as partition (division) header descriptor).

[0657] The location of the space table is written in the column of the unallocated space table 452 in the form of a short allocation descriptor (AD(50) in the example of FIGS. 14 and 15).

[0658] The location of the space bit map table is written in the column of the unallocated space bit map 453 in the form of a short allocation descriptor (AD(0) in the example of FIGS. 14 and 15).

[0659] (13) The logical block number (0) where the space bit map read in item (12) has been written is accessed. The “logical block numbers to be released” obtained-as the result of item (11) are rewritten into a space bit map descriptor 470. Alternatively,

[0660] (13′) The logical block number (50) where the space table read in item (12) has been written is accessed. Then, the “logical block numbers to be released” obtained as the result of item (11) are rewritten into a space table.

[0661] Actually, either item (13) or process (13′) is carried out.

[0662] <To delete subdirectory H432, the process as described below is carried out>

[0663] (12) The location where the contents of the file data I433 have been recorded is read following the same procedures in item (10) and item (11).

[0664] (13) Next, the partition (division) descriptor 450 in the main volume descriptor sequence 449 area is reproduced and the information in the partition (division) contents use 451 written in the descriptor is read. The location where the space table or space bit map has been recorded is shown in the partition (division) contents use 451.

[0665] The location of the space table is written in the column of the unallocated space table 452 in the form of a short allocation descriptor (AD(50) in the example of FIGS. 14 and 15).

[0666] The location of the space bit map table is written in the column of the unallocated space bit map 453 in the form of a short allocation descriptor (AD(0) in the example of FIGS. 14 and 15).

[0667] (14) The logical block number (0) where the space bit map read in item (13) has been written is accessed. The “logical block numbers to be released” obtained as the results of item (11) and item (12) are rewritten into a space bit map descriptor 470. Alternatively,

[0668] (14′) The logical block number (50) where the space table read in item (13) has been written is accessed. Then, the “logical block numbers to be released” obtained as the results of item (11) and item (12) are rewritten into a space table.

[0669] Actually, either item (14) or process (14′) is carried out.

[0670] (G) The process of adding file data/directory

[0671] As a example, explanation will be given about an accessing and adding method in adding new file data or directories under the subdirectory F430.

[0672] (1) To add file data, the volume of the contents of the file data to be added is checked. The resulting value is divided by 2048 bytes, thereby calculating beforehand the number of logical blocks needed to add file data.

[0673] (2) The information in the boot descriptor 447 in the volume recognition sequence 444 area serving as the boot area at the time of starting the information recording and reproducing device or installing the information storage medium is reproduced. The process in booting is started according to the contents of the boot descriptor 447. When no process in booting is specified, control proceeds as follows.

[0674] (3) The partition (division) descriptor 450 in the main volume descriptor sequence 449 area is reproduced and then the information in the partition (division) contents use 451 written in the descriptor is read. The location where the space table or space bit map has been recorded is shown in the partition (division) contents use 451 (also referred to as partition (division) header descriptor).

[0675] The location of the space table is written in the column of the unallocated space table 452 in the form of a short allocation descriptor (AD(50) in the example of FIGS. 14 and 15).

[0676] The location of the space bit map table is written in the column of the unallocated space bit map 453 in the form of a short allocation descriptor (AD(0) in the example of FIGS. 14 and 15).

[0677] (4) The logical block number (0) where the space bit map read in item (3) has been written is accessed. The space bit map information is read from the space bit map descriptor 470. Then, unregistered logical blocks are searched for and use of as many logical blocks as equal the result of calculation in item (1) is registered (the process of rewriting the space bit map descriptor 460 information). Alternatively,

[0678] (4′) The logical block number (50) where the space table read in item (3) has been written is accessed. Then, USE(AD(*), AD(*), . . . , AD(*)) 471 in the space table is searched for unregistered logical blocks and use of as many logical blocks as equal the result of calculation in item (1) is registered.

[0679] Actually, either process (4) or process (4′) is carried out.

[0680] (The process of rewriting the space table information)

[0681] (5) Next, the information in the logical volume descriptor 454 in the main volume descriptor sequence 449 area is reproduced.

[0682] (6) The logical volume content use 455 has been written in the logical volume descriptor 454. In the descriptor, the logical block number indicating the location where the file set descriptor 472 has been recorded has been written in the form of a long allocation descriptor (see FIG. 17). (In the example of FIGS. 14 and 15, the descriptor has been recorded in the 100^(th) logical block counting from LAD(100).)

[0683] (7) The 100^(th) logical block (or logical sector number 400) is accessed and the file set descriptor 472 is reproduced. In the root directory ICB473 in the descriptor, the location (logical block number) where the file entry for the root directory A425 has been recorded has been written in the form of a long allocation descriptor (see FIG. 17) (in the example of FIGS. 14 and 15, the file entry has been recorded in the 102^(nd) logical block counting from LAD(102)).

[0684] (8) According to LAD(102) in the root directory ICB473, the 102^(nd) logical block is accessed. Then, the file entry 475 for the root directory A425 is reproduced and the location (logical block number) where information about the contents of the root directory A425 has been recorded is read (AD(103)).

[0685] (9) The 103^(rd) logical block is accessed and information about the contents of the root directory A425 is reproduced.

[0686] The file identification descriptor for the directory D428 is searched for and the logical block number (LAD(110) although not shown in FIGS. 14 and 15) where the file entry for the directory D428 has been recorded is read.

[0687] (10) The 110^(th) logical block is accessed. Then, the file entry 480 for the directory D428 is reproduced and the location (logical block number) where information about the contents of the directory D428 has been recorded is read (AD(111)).

[0688] (11) The 111^(th) logical block is accessed and information about the contents of the directory D428 is reproduced.

[0689] The file identification descriptor for the subdirectory F430 is searched for and the logical block number (LAD (112) although not shown in FIGS. 14 and 15) where the file entry for the subdirectory F430 has been recorded is read.

[0690] (12) The 112^(th) logical block is accessed and the file entry 482 for the subdirectory F430 is reproduced. Then, the location (logical block number) where information about the contents of the subdirectory F430 has been recorded is read (AD(113)).

[0691] (13) The 113^(th) logical block is accessed and the file identification descriptor for the file data or directory to be added newly to information about the contents of the subdirectory F430 is registered.

[0692] (14) The location where the logic block number has been registered in item (4) or (4′) is accessed and the file data or directory to be newly added is recorded.

[0693] (15) The location for the logical block number shown in the short allocation descriptor in the file entry in (14) is accessed. Then, the file identification descriptor for the parent directory related to the directory to be added or the contents of the file data to be added is recorded.

[0694] The contents (data structure) of the information recorded on an information storage medium (optical disk 1001) on and from which video information and audio information of FIG. 23(a) can be recorded or reproduced will be explained below by reference to FIGS. 24 and 25.

[0695] A schematic data structure of the information recorded on the information storage medium 1001 is such that, as indicated by b in FIG. 23, the information is divided as follows starting from the inner edge side 1006:

[0696] A lead-in area 1002 having an embossed data zone whose reflecting surface is uneven, a mirror zone whose surface is flat (mirror-like), and a rewritable data zone where information is rewritable, volume and file management information 1003 in which information about files of or the entire amount of audio and video data recorded in a rewritable table data zone that allows the user to record or rewrite data is to be recorded, a data area 1004 composed of a rewritable table data zone that enables the user to record or rewrite data, and a lead-out area 1005 composed of a rewritable table data zone where information is rewritable.

[0697] In the embossed data zone of the lead-in area 1002, the following have been recorded beforehand:

[0698] Information about an entire information storage medium, including disk type, such as DVD-ROM, DVD-RAM, or DVD-R, disk size, recording density, and physical sector numbers indicating the recording start/recording end locations.

[0699] Information about recording, reproducing, and deleting characteristics, including recording power, recording pulse width, deleting power, reproducing power, and linear velocity in recording and deleting.

[0700] Information about the manufacture of each information storage medium, such as serial number.

[0701] Each of the rewritable table data zone of the lead-in area 1002 and the rewritable table data zone of the lead-out area 1005 has the following:

[0702] Disk name recording zone unique to each information storage medium.

[0703] Trial recording zone (for checking recording and deleting conditions).

[0704] Management information recording zone for defective areas in the data area 1004.

[0705] An information recording and reproducing device can record data in the above zones.

[0706] In the data area 1004 sandwiched between the lead-in area 1002 and lead-out area 1005, computer data and audio & video data can be recorded in a mixed manner as indicated by c in FIG. 23. The order in which the computer data and audio & video data are recorded and the recording information size of each of them are arbitrary. Areas in which the computer data is recorded are called computer data areas 1008, 1010 and an area in which the audio & video data is recorded is called audio & video data area 1009.

[0707] The data structure of the information recorded in the audio & video data area 1009 is composed of the following as shown by d in FIG. 23:

[0708] Anchor pointer information 1015 for control information→Information indicating the begin position (begin address) where control information 1011 has been recorded in the audio & video data area 1009.

[0709] information 1011→Control information necessary to carry out each of video recording (audio recording), reproducing, editing, and retrieving.

[0710] Video objects 1012→Video recording information about the contents of video data.

[0711] Picture objects 1013→Still picture information about still pictures or slide pictures.

[0712] Audio objects 1014→Audio recording information about the contents of audio data.

[0713] Thumbnail objects 1016→Information including thumbnails used in searching for the desired place in the video data or in editing.

[0714] The video objects 1012, picture objects 1013, audio objects 1014, and thumbnail objects 1016 in FIG. 23, d mean groups of information classified by contents (the contents of data). Therefore, All the video information recorded in the audio & video data area 1009 is included in the video objects 1012; all the still picture information is included in the picture objects 1013; all the audio and audio information is included in the audio objects 1014; and all the thumbnail information used in managing and retrieving video information is included in the thumbnail objects 1016.

[0715] VOB1403 of FIG. 24 shows a block of information recorded in the AV file 1401, which is defined differently from the video objects 1012 indicated by d in FIG. 23. Because similar terms are used to mean totally different things, care should be taken.

[0716] The contents of control information 1011 include the following:

[0717] AV data control information 1101: Management information about the management of the data structure in video objects 1012 or recording locations on the optical disk 1001, an information storage medium.

[0718] Playback control information 1021: Control information necessary for playback.

[0719] Recording control information (recording (video recording) control information) 1022: Control information necessary for recording (video recording and audio recording).

[0720] Edit control information 1023: Control information necessary for editing.

[0721] Thumbnail control information 1024: Management information about thumbnails (thumbnail objects) for searching for or editing the desired place in the video data.

[0722] The data structure in AV data control information 1101 indicated by e in FIG. 23 is composed of the following:

[0723] Allocation map table (allocation map table) 1105: Information about address setting and identification of recorded and unrecorded areas according to the actual layout on an information storage medium (optical disk 1001).

[0724] Video title set information 1106: Indicates the contents of the entire information in AV file 1401 as shown in FIG. 24 and includes information about a relation between the individual video objects (VOB), grouping information about a plurality of VOBs for management and retrieval, and a time map table.

[0725] Video object control information 1107: Indicates information about each of the VOBs in AV file 1401 as shown by c in FIG. 24 and includes attribute (characteristic) information about each VOB and information about each VOBU in VOB.

[0726] Program chain control information (PGC control information) 1103: Information about video information playback program (sequence).

[0727] Self-playback information (cell playback information) 1108: Information about the data structure in video information basic units at the time of playback.

[0728] The above is a general view of FIG. 23 up to f and some supplementary explanation of each piece of information will be given below.

[0729] In the volume and file manager information 1003, the following are recorded:

[0730] Information about the whole volume.

[0731] The number of files of PC data included and the number of files related to AV data.

[0732] Recording layer information.

[0733] As the recording layer information, the following are particularly recorded:

[0734] The number of component layers (examples: a RAM/ROM two-layer disk is counted as two layers, a ROM two-layer disk is counted as two layers, an n number of single-sided disks are counted as n layers).

[0735] A logical sector number range table allocated to each layer (the capacity for each layer).

[0736] Characteristic of each layer (examples: DVD-RAM disk, the RAM section of RAM/ROM two-layer disk, CD-ROM, and CD-R).

[0737] Logical sector number range table allocated to each zone in the RAM area for each layer (including information about the capacity of an area where rewriting is possible layer by layer).

[0738] ID information unique to each layer (to find disk replacement in a multiple disk pack).

[0739] Consecutive logical sector numbers are set even in a multiple disk pack or RAM/ROM two-layer disk, thereby enabling the pack or disk to be used as a large volume space.

[0740] In the playback control information 1021, the following are recorded:

[0741] Information about a playback sequence to combining PGCs into one.

[0742] Information indicating spurious recording positions regarding an information storage medium as VTR or DVC in connection with the above (the sequence in which all the recorded cells are reproduced consecutively).

[0743] Information about simultaneous playback of screens with different pieces of video information.

[0744] Retrieval information (. . . information in which a table listing the corresponding cell ID and the start time in the cell is recorded for each retrieval category and which enables the user to select a category and access the video information directly).

[0745] In the record control information 1022, program reservation video recording information and others are recorded.

[0746] In the edit control information 1023, the following are recorded:

[0747] Special editing information about each PGC (. . . the corresponding time setting information and special editing contents are written as EDL information).

[0748] File conversion information (. . . converts a specific part of the AV file into a file that enables special editing on the PC, such as an AVI file, and specifies the place in which the converted file is stored).

[0749] In the thumbnail control information 1024, the following is recorded:

[0750] Management information about thumbnail objects 1016 (the place where each thumbnail picture is recorded in the audio and video data area 1009, specifying information about the VOB or cell related to each thumbnail image, and information about places in the VOB or cell related to each thumbnail picture). (The VOB and cell will be explained in detail in an explanation of FIG. 24.)

[0751] All the information recorded in the data area 1004 indicated by b in FIG. 23 is recorded in files. The relationship between the individual data files is managed by a directory structure as shown in FIG. 25.

[0752] Under a root directory 1450, subdirectories 1451 are provided to facilitate classification according to the contents of a file. In the embodiment of FIG. 25, each data file related to the computer data recorded in the computer data areas 1008, 1010 indicated by c in FIG. 23 is recorded under a computer data storage subdirectory 1457 and the audio and video data recorded in the audio and video data area 1009 is recorded under a rewritable video title set (RWV_TS) 1452. When the video information recorded in a DVD video disk is copied as shown by a in FIG. 23, it is copied under a video title set (VIDEO_TS) 1455 and an audio title set (AUDIO_TS) 1456.

[0753] The control information 1011 indicated by d in FIG. 23 is recorded as recording/reproducing video management data in the form of a single file. In the embodiment of FIG. 25, the name of the file is RWVIDEO_CONTROL.IFO. The same information is recorded under the file name RWVIDEO_CONTROL.BUP as a backup copy. The RWVIDEO_CONTROL.IFO and RWVIDEO_CONTROL.BUP2 files are treated as conventional computer files.

[0754] In the embodiment of FIG. 25, all the video information data belonging to the video objects 1012 indicated by d in FIG. 23 is recorded collectively in the video object file 1447 whose file name is RWVIDEO.VOB. Specifically, all the video information data belonging to the video objects 1012 indicated by d in FIG. 23 is concatenated continuously in a single VTS (video title set 1402) and recorded continuously in a single file, the single video object file 1447 (that is, all the video information data is recorded collectively in a single file without dividing a file into PTT (Part_of_Title) 1407, 1408.

[0755] Furthermore, All the still picture information data belonging to the picture objects 1013 is recorded collectively in a picture object file 1448 whose file name is RWPICTURE.POB. The picture objects 1013 include pieces of still picture information. A digital camera has employed a method of recording a single still picture in the form of a different file. Differently from the recording method of the digital camera, the embodiment of the present invention is characterized in that all the still pictures included in the picture objects 1013 are concatenated continuously in the same manner as in FIG. 24 and recorded collectively in a single picture object file 1448 whose file name is RWPICTURE.POB.

[0756] Similarly, all the audio information belonging to the audio objects 1014 is recorded collectively in a single audio object file 1449 whose name is RWAUDIO.AOB and all the thumbnail information belonging to the thumbnail objects 1016 is recorded collectively in a thumbnail object file 1458 whose name is RWTHUMBNIL.TOB.

[0757] The video object file 1447, picture object file 1448, audio object file 1449, and thumbnail object file 1458 are all treated as AV files 1401.

[0758] Although not shown in FIG. 23, recording/reproducing additional information 1454 usable in video-recording or reproducing pictures can be recorded simultaneously. The information is recorded collectively in a single file, which is given the file name RWADD.DAT.

[0759] The data structure of an AV file is shown in FIG. 24. As indicated by b in FIG. 24, the whole AV file 1401 constitutes a single PGS (program set) 1402. The PGS (program set) 1402 is composed of a collection of VOB (video objects) 1403, 1404, 1405 separated in the order in which the pieces of information have been recorded in the contents of the audio and video data or the AV file 1401.

[0760] VOB (video objects) 1403, 1404, 1405 indicated by d in FIG. 24 are defined as a collection of audio and video data recorded in the AV file 1401 and differ in definition from the video objects 1012 indicated by d in FIG. 23 where classification items, including still picture information/audio information/thumbnail information, are given priority. Therefore, in the VOB (video objects) 1403, 1404, 1405 indicated by d in FIG. 24, not only the information classified as the video objects 1012 has been recorded, but also the information classified as the picture objects 1013, audio objects 1014, or thumbnail objects 16 as shown in FIG. 23 has been recorded.

[0761] On the basis of the contents of the information recorded in each of the VOBs 1403, 1404, 1405, related VOBs are put together into a group and the individual groups constitute PGs (programs) 1407, 1408. Namely, PGs 1407, 1408 are composed of sets of one or more VOBs. In the embodiment indicated by c in FIG. 24, VOB 1408 and VOB 1405 constitute PG (program) 1408. PG 1407 is composed of only one VOB.

[0762] The smallest basic units of video information are called VOBUs (video object units) 1411 to 1414. The data in the VOBs 1403 to 1405 are composed of collections of the VOBUs 1411 to 1414. MPEG 1 or MPEG 2 are often used as video information compression techniques in the video objects 1012. In MPEG, video information is divided into groups called GOPs at intervals of 0.5 second, thereby compressing the video information in GOPs. The video object units 1411 to 1414, video information compression units, are formed so as to have almost the same size as that of the GOPs in synchronization with the GOPs.

[0763] Furthermore, each of the video object units 1411 to 1414 is recorded in such a manner that it is divided into sectors 1431 to 1437, each sector containing 2048 bytes. In each of the sectors 1431 to 1437, recording is done in the form of a pack structure. In the respective sectors, the raw video information, sub-picture information, audio information, and dummy information are recorded in the form of packs, including V_PCK (video packs) 1421, 1425, 1426, 1426, SP_PCK (sub-picture pack) 1422, A_PCK (audio pack) 1423, and DM_PCK (dummy pack) 1424. Since each pack has a 14-byte pack header at its head, the amount of information recorded in each pack is 2034 bytes.

[0764] DM_PCK 1424 has been inserted beforehand for the purpose of, for example, adding additional recording information after video recording (. . . for example, additional recording is put in an audio pack and the resulting pack is replaced with a dummy pack, or memo information is inserted in sub-picture information (a sub-picture pack) and the resulting pack is replaced with a dummy pack).

[0765] The recording area of a DvD-RAM, an example of the information storage medium 1001 indicated by a in FIG. 23 is divided into sectors. In each sector, 2048 bytes of data can be recorded. In the DVD-RAM disk, recording or reproducing is done in sectors (or in units of 2048 bytes). Therefore, when a DVD-RAM disk is used as an information storage medium (optical disk 1001), each pack is recorded in sectors 1431 to 1437 as indicated by f in FIG. 24.

[0766] As indicated by b and d in FIG. 24, a consecutive connection of all the VOBs 1403 to 1405 in the AV file 1401 constitutes a VTS (video title set) 1402. In the playback sequence written in the playback control information 1021, an arbitrary range in an arbitrary VOB can be specified and further playback can be performed in an arbitrary playback sequence. Video information basic units in playback are called cells 1441, 1442. 1443. The cells 1441, 1442. 1443 can specify an arbitrary range in an arbitrary VOB but cannot specify an arbitrary range extending over VOBs (that is, cannot set a range by connecting VOBs in a single cell).

[0767] In the embodiment indicated by g in FIG. 24, cell 1441 specifies a single VOBU 1412 in the VOB 1403, cell 1442 specified an entire VOB 1404, and cell 1443 specifies a range only in a specific pack (V_PCK 1427) in the VOB 1414.

[0768] Information representing a video information playback sequence is set by PGC (program chain) 1446. The playback sequence is written by a single cell specification or information about a connection of cells. For example, in the embodiment indicated by h in FIG. 24, PGC 1446 constitutes a playback program in the form of a connection of cell 1441, cell 1442, and cell 1443 (the relationship between cells and PGC will be explained in detail later).

[0769] Using FIGS. 26 and 27, the contents of playback control information 1021 will be explained.

[0770] PGC (program chain) control information 1103 in the playback control information 1021 has a data structure shown in FIG. 26 and the playback sequence is determined by PGC and cell. PGC shows a unit in executing a series of playback in the specified playback sequence of cells. A cell represents a playback section where playback data in each VOB is specified by a start address and an end address as shown by f in FIG. 24.

[0771] The PGC control information 1103 is composed of PGC information management information 105, one or more PGC information search pointer (search pointer of PGC information) 1053, 1054, and pieces of PGC information 1055, 1056, 1057.

[0772] The PGC information management information 1052 includes information indicating the number of PGCs (the number of pieces of PGC information). The PGC search pointers point at the head of each pieces of PGC information, facilitating search. Each of the pieces of PCG information 1055, 1056, 1057 is composed of PGC general information 1061 and one or more pieces of cell playback information 1062, 1063. The PGC general information 1061 includes information indicating the playback time of PGC and the number of cells (the number of pieces of cell playback information).

[0773] As shown in FIG. 27, a playback section from Cell-A to Cell-F is specified in cells of playback data. In each PGC, PGC information has been defined.

[0774] (1) PGC #1 shows an example of being composed of cells specifying a continuous playback section. Its playback sequence is as follows:

Cell-A→Cell-B→Cell-C.

[0775] (2) PGC #2 shows an example of being composed of cells specifying an intermittent playback section. Its playback sequence is as follows:

Cell-D→Cell-E→Cell-F.

[0776] (3) PGC #3 shows an example of being capable of skipped playback, regardless of the direction of playback or repetitive playback. Its playback sequence is as follows:

Cell-A→Cell-D→Cell-B→Cell-E.

[0777] Explanation will be given about a method of setting video information recording locations in a case where unused areas are set in an AV file on the video recording/reproducing application software side in the embodiment of the present invention of FIG. 28. First, the state is assumed to be as shown by a in FIG. 28. When the data is deleted partly from D to E in LBN, the file size of the AV file remains unchanged as shown by b in FIG. 28, because AV file #1 has an unused area in the embodiment of the present invention. Consequently, the file entry to the AV file stays at FE(AD(C)). Therefore, even when a new PC file is recorded, the PC file never gets into the location of the unused area of AV files #1. Next, when video information is recorded additionally in video recording, the additional recording information gets into the unused area ranging from D to E in LBN. The unused area turns to an additional recording area.

[0778] With the method of setting unused areas in an AV file according to the present invention, there is no need to change the file system information about UDF each time a small amount of data is deleted or additional recording is done in video recording, which facilitates the processing on the file system. When the amount of video information to be recorded increases, the AV file size becomes larger. The unused recording area in the range from B to C in LBN shown by c in FIG. 28 are absorbed by video file #1. While the video file has only one extent AD(C) indicated by c in FIG. 28, it also has another extent AD(A) indicated by d, resulting in file entry FE(AD(C), AD(B)).

[0779]FIG. 29 shows the relationship between LBN and AV addresses in an AV file in the present invention.

[0780] The information in AV file 1401 is recorded on the information storage medium in such a manner that it is interspersed physically on the storage medium. Now, consider a case where AV file 1401 is distributed and recorded in extent #α 3166, extent #γ 3168, and extent #δ 3169 and the order of entry on the file entry is extent #δ 3169, extent #γ 3168, and extent #α 3166 in this order. The AV addresses, the recording/reproducing application 1 manages, are such that they connect consecutively the extents registered in the file entry, regardless of the recording positions on the information storage medium, and that younger entries are allocated smaller AV addresses in ascending order.

[0781] The AV addresses are managed using the extents. For example, it is assumed that the value of LBN of the first sector is “c” and the value of LBN of the last sector is “d−1 in extent #γ 3168 as indicated by a in FIG. 29.” In this case, the AV address values of similar sectors are “f−e” and “(f−e)+(d−c)−1” respectively as shown by b in FIG. 29.

[0782] In the embodiment shown in FIG. 4, when part of AV file 1401 is deleted in XX, XX-PS, LBN/ODD, and LBN/ODD-PS, then that part turns to “unused VOB #A 3173” and is managed on the recording/reproducing application as shown in FIGS. 30 and 31 (specifically, no extent is released on the file system 2 (or deleting is not done)).

[0783]FIG. 30 shows a case where the central part of VOB #1 is deleted. FIG. 31 shows the management state when VOB has been deleted as shown in FIG. 30. Specifically, an example of the number of pieces of VOB information, the number of pieces of unused VOB information, type, data size, and AV address for the begin position are shown. As shown in the column on the right side, the contents of management are rewritten. Therefore, in the case of playback, deleting, and additional writing, address management is performed by reference to the management information.

[0784] Unlike conventional computer information, it is essential for video information to guarantee its continuity in recording as shown in Table 1 and Table 2. Hereinafter, the reason for impeding continuity in recording and a method of guaranteeing continuity in recording will be explained.

[0785]FIG. 32 is a conceptual diagram of a recording route system to help explain continuity in recording.

[0786] The externally sent video information is stored temporarily in a buffer memory (semiconductor memory) BM219. When the operation of rough access 1334 and fine access 1333 causes the optical head 202 to reach the recording position on the information storage medium 201, the video information stored temporarily in the buffer memory (semiconductor memory) BM219 is recorded on the information storage medium by way of the optical head 202. The transfer rate of the video information sent from the buffer memory (semiconductor memory) BM219 to the optical head 202 is defined as physical transmission rate (PTR). The average value of the transfer rate of the video information transferred from the outside world to the buffer memory (semiconductor memory) BM219 is defined as system transmission rate (STR) 1388. Generally, the physical transmission rate PTR differs in value from the system transmission rate STR.

[0787] Recording video information in different places on the information storage medium 201 requires an access operation that moves the position of the condensed spot of the optical head 202. Rough access 1334 is performed to move the whole optical head 202 for large movements, whereas fine access 1333 is performed to move only the laser-light condensing objective (not shown) for slight movements.

[0788]FIGS. 33 and 34 show changes with time in the amount of video information temporarily stored in the buffer memory (semiconductor memory) BM219 in a case where the optical head 202 is caused to write video information on specific positions on the information storage medium, while accessing the video information transferred from the outside world. Since the physical transmission rate PTR is faster than the system transmission rate STR, the amount of video information temporarily stored in the buffer memory 219 continues decreasing in the periods of the video information recording times 1393, 1397, 1398. The amount of video information temporarily stored in the buffer memory 219 reduces to zero. At that time, the video information continuously transferred is recorded as it is on the information storage medium without being stored temporarily in the buffer memory 219. Thus, the amount of video information temporarily stored in the buffer memory 219 stays at zero.

[0789] Thereafter, when video information is recorded in a different position on the information storage medium, the accessing of the optical head 202 is effected before subsequent recording. The access period of the optical head requires three types of time: rough access times 1348, 1376, fine access times 1342, 2343, and rotation wait time of the information storage medium 201 13451346. Because no recording is done on the information storage medium 201 in that period, the physical transmission rate PTR 1387 in that period is substantially “0.” In contrast, because the average system transmission rate STR 1388 of the video information sent from the outside world to the buffer memory (semiconductor memory) BM219 is kept unchanged, the amount of video information temporarily stored in the buffer memory (semiconductor memory) BM219 increases steadily.

[0790] When the accessing of the optical head 202 has been completed and recording on the information storage medium 201 is started again (in the period of the video information recording time 13971398), the amount of video information temporarily stored in the buffer memory (semiconductor memory) BM219 decrease again. The decrease gradient is determined by:

(average system transmission rate STR 1332)− (physical transmission rate PTR 1331).

[0791] Thereafter, when the optical head accesses a position near the recording position on the information storage medium, only the fine access times 1363, 1364, 1365, 1366 and rotation wait times 1367, 1368, 1369, 1370 are needed, because the optical head can access the position only by fine access.

[0792] The condition for enabling such continuous recording can be determined by “the upper limit of the number of accesses in a specific period.” Although continuous recording has been explained above, the condition for enabling continuous playback is also determined by “the upper limit of the number of accesses in a specific period,” because similar reasons to what has been described above.

[0793] The condition for the number of accesses that makes continuous recording completely impossible will be explained by reference to FIG. 33. When the frequency of access is the highest, the video information recording time 1398 is very short as shown in FIG. 33 and only the fine access times 1363, 1364, 1365, 1366 and rotation wait times 1367, 1368, 1369, 1370 follow one after another consecutively. In this case, however fast the physical transmission rate PTR 1387 may be, the continuity of recording cannot be secured. If the capacity of the buffer memory 219 is BM, the buffer memory 219 is filled with temporarily stored video information in the period of BM÷STR, which makes it impossible to store newly transferred video information temporarily in the buffer memory (semiconductor memory) 219. As a result, as much video information as has not been stored temporarily in the buffer memory (semiconductor memory) 219 cannot be recorded continuously.

[0794] As shown in FIG. 34, when the video information recording time is balanced against the access time and the temporarily stored video information in the buffer memory 219 is, on the whole, kept almost constant, the continuity of video information recording viewed from an external system is secured without any overflow of the temporarily stored video information in the buffer memory 219. Let each rough access time be SATi (seek access time of the objective), the average rough access time after an n number of accesses be SATa, the video information recording time for each access be DWTi (data write time), and the average video information recording time required to record video information on the information storage medium after each access obtained as the average value after an n number of accesses be DWTa. Moreover, let the rotation wait time for each time be MWTi (spindle motor wait time) and the average rotation wait time after an n number of accesses be MWTa.

[0795] The amount of video information data transferred from the outside world to the buffer memory 219 in all the access periods when an n number of accesses were performed is expressed as:

STR×(Σ(SATi+JATi+MWTi))≈ STR×n×(SATa+JATa+MWTa)  (1)

[0796] When the value and the amount of video information transferred from the buffer memory 219 to the information storage medium 201 in recording video information expressed as

(PTR−STR)×ΣDWTi≈(PTR−STR)×n·DWTa  (2)

[0797] has the following relationship expressed as:

(PTR−STR)×n·DWTa≧STR×n×(SATa+JATa+MWTa)

[0798] that is,

(PTR−STR)×DWTa≧STR×(SATa+JATa+MWTA)  (3)

[0799] the continuity of video information recording is secured viewed from the external system side.

[0800] If the average time required for one access is Ta, Ta is expressed as:

Ta=STATa+JATa+MWTa  (4)

[0801] Thus, expression (3) is rearranged as:

(PTR−STR)×DWTa≧STR×Ta  (5)

[0802] The present invention is characterized in that. restrictions are placed on the lower limit of the data size of continuous recording after one access to decrease the average number of accesses. A data area in which continous recording is done on the information storage medium after one access is defined as “a contiguous data area.”

[0803] Expression (5) is rearranged as:

DWTa≧STR×Ta/(PTR−STR)  (6)

[0804] Since a contiguous data area size CDAS is determined as follows,

CDAS=DWTa×PTR  (7)

[0805] From expression (6) and equation (7), the following expression is obtained:

CDAS≧STR×PTR×Ta/(PTR−STR)  (8)

[0806] From expression (8), the lower limit of the contiguous data area size that enables continuous recording is determined.

[0807] The time required for rough access or fine access differs greatly, depending on the performance of the information recording and reproducing device.

Suppose SATa≈200 ms  (9)

[0808] As described above, calculations are done, provided that MWTa≈18 ms and JATa≈5 ms.

[0809] In the case of a 2.6-GB DVD-RAM, TR is:

TR=11.08 Mbps  (10)

[0810] When the average transmission rate of MPEG 2 is

STR≈4 Mbps  (11)

[0811] substituting the above value into expression (8) gives:

CAD≧1.4 Mbits  (12)

[0812] By another estimate, suppose

SATa+JATa+MWTa=1.5 seconds  (13)

[0813] Then, from expression (8), the result is:

CADS≧9.4 Mbits  (14)

[0814] Since in the recording/reproducing DVD standard, the maximum transmission rate in MPEG 2 is so determined that it is equal or less than

STR=8 Mbps  (15)

[0815] substituting the value of equation (15) into expression (8) gives:

CADS≧432 Mbits≈5.4 Mbytes  (16)

[0816] In the embodiment of the present invention shown in Table 4, the contiguous data area boundary position is managed on the recording/reproducing application 1 in LBN/OD, LBN/ODD-PS, XX, and XX-PS. The allocation map table 1105 shown in FIG. 23 (f) is caused to have a data structure as shown in Table 6, thereby managing the boundary position information.

[0817] Using FIG. 10, the linear replacement and skipping replacement have been explained by comparison as a method of replacing a defective area occurred on the information storage medium. Here, explanation will focus on a comparison between methods of setting LEN (logical block numbers) in replacing processes.

[0818] As described earlier, all the recording area on the information storage medium is divided into sectors in units of 2048 bytes. All the sectors are allocated physical sector number (PSN) in advance. The PSNs are managed by the information recording and reproducing device as explained in Table 3.

[0819] As indicated by β in FIG. 35, the place where a replacement area 3455 is set is limited to the inside of the spare are 724 in the linear replacement method, and cannon be set in an arbitrary place. When there is no defective area on the information storage medium, LBNS are allocated to all the sectors within the user area 723 and no LEN is allocated to the sectors in the spare area 724. When a defective area 3451 has occurred in ECC blocks, the setting of LBNs in that place (area 3461) is prevented, and the values of the LBNs are set in the sectors in the replacement area 3455. In the example of β in FIG. 35, “b” is set as PSN of the begin sector in an recording area 3441 and “a” is set as LBN. Similarly, “b+32” is set as PSN of the begin sector of a recording area 3442 and “a+32” is set as LBN. When recording data #1, recording data #2, and recording data #3 exist as the data to be recorded on the information storage medium as indicated by α in FIG. 35, recording data #1 is recorded in a recording area 3441, and recording data #3 is recorded in a recording area 3442. When the area sandwiched between the recording areas 3442 and 3442 and PSN of whose begin sector starts at “b+16” is a defective area 3451, no data is recorded there and no LBN is set. Instead, not only recording data #2 is recorded in a replacement area 3455 PSN of whose begin sector in the spare area 724 starts at “d,” but also LBN starting at the begin sector “a+16” is set.

[0820] Since the addresses the file system 2 manages are LBNs as shown in Table 3 and LBNs are set avoiding the defective area 3451 in the linear replacement method, the linear replacement method is characterized in that the file system 2 is allowed to be unaware of the defective area on the information storage medium. Conversely, this method has a disadvantage in that the file system 2 side cannot deal with the defective area 3441 on the information storage medium at all.

[0821] In contrast, the skipping replacement method according to the present invention is characterized in that LBN is set even for a defective area 3452 as indicated by γ in FIG. 35 and therefore the file system 2 side can deal with a defective area occurring on the information storage medium (put the defective area in the management range). In the example indicated by γ in FIG. 35, LBN of the begin sector in the defective area 3452 is set to “a+16.” The present invention is further characterized in that a replacement area 3456 for the defective area 3452 can be set in any position in the user area 723. As a result, the replacement area 3456 is placed immediately behind the defective area 3452, which enables recording data #2 to have been recorded on the defective area 3452 to be recorded in the replacement area 3456.

[0822] Since in the linear replacement method indicated by β in FIG. 35, the optical head has to be moved to the spare area 724 to record recording data #2, the access time of the optical head is inevitable. In contrast, in the skipping replacement method, the accessing of the optical head is unnecessary and recording data #2 can be recorded immediately behind the defective area.

[0823] As indicated by γ in FIG. 35, in the skipping replacement method, the spare 724 is not used and is treated as an unrecorded area 3459.

[0824] When a recording method as indicated by β in FIG. 35 is used, the physical movement of the optical head is made frequently as shown in FIG. 36.

[0825] Suppose a defective area is encountered when recording is done up to, for example, point A in the figure. In this case, the optical head has to jump to point B in a spare area for replacement, write the data there, and then jump to return to point C in the writing area next to the defective area. In this method, as the number of defective area increases, the movement of the optical head becomes more frequent. When the transfer speed of the input data to be written is fast, the optical head could not follow the speed.

[0826] In contrast, the points of the embodiment shown in FIG. 35 and corresponding effects representing the principal characteristics of the present invention are described in the following items (A), (B), and (C):

[0827] (A) LBN is set even for the defective area 3452.

[0828] Because LBN is not allocated directly to a defective area in the linear replacement method indicated by β in FIG. 35 and in the defect processing method shown in FIG. 10, the file system cannot recognize the exact defective area. When the number of defects occurred on the information storage medium is small, it is possible to leave defect management to the information recording and reproducing device 3 as shown by β in FIG. 35 or in FIG. 10. When a large number of defects that exceed the size of the spare area have occurred, the management of defects only by the information recording and reproducing device 3 would fail.

[0829] In contrast, when LBN is set for the defective area 3452 to enable the file system 2 side to recognize the place of the defective area 2452, the information recording and reproducing device 3 can cooperate with file system 2 to process defects, which enables video information to be recorded continuously without failure, even when a large number of defects have occurred on the information storage medium.

[0830] (B) The defective area occurred in the user area 723 and allocated LBN is allowed to remain on the LBN space.

[0831] When either the linear replacement method indicated by β in FIG. 35 or the skipping replacement method is used as an LBN setting method and LBN is set in the spare area 724 (an extended area 743 used for information recording), a problem arises when the recorded information is deleted and new information is recorded (although no problem arises in initial recording).

[0832] Specifically, since all the addresses set on the LBN space are consecutive when viewed from the file system (the file system 2 is unaware that the LBN set in the spare area 746 has been placed in a position physically apart from the user area 723), the file system 2 tries to record information in the continuous range on the LBN space. Once LBN has been set in the spare area 724, the information recording and reproducing device 3 has to record information on the information storage medium under the control of the file system. As a result, the optical head has to move to the LBN set place on the spare area 724 and record information there, resulting in an increase in the access frequency of the optical head and therefore permitting the amount of video information temporarily stored in the semiconductor memory in the information recording and reproducing device to be saturated as shown in FIG. 33. As a result, continuous recording might be impossible.

[0833] In contrast, when LBN set as indicated by γ in FIG. 35 is always set in the user area, unnecessary access of the optical head can be limited in a case where another piece of information is recorded in the place where information has been deleted, which enables continuous recording of video information.

[0834] (C) The replacement area 3456 is set immediately behind the defective area 3452 occurred in the user area 723.

[0835] As described above, unlike the linear placement method indicated by β in FIG. 35, the skipping replacement method indicated by γ in FIG. 35 enables recording data #2 to be recorded immediately behind a defective area, with the result that unnecessary access of the optical head is limited and therefore continuous recording of video information is possible.

[0836] The data structure of the defect management information in the skipping replacement method will be explained.

[0837] As a method of recording the defect management information in this case, the embodiment of the present invention has disclosed the following:

[0838] (1) A method of recording and managing the defect management information as PSN information on the information storage medium as shown in FIG. 37, causing the information recording and reproducing device 3 to read the PSN information and then convert it into LBN information, and thereafter informing the file system 2 side of the LBN information.

[0839] (2) A method of recording and managing the defect management information as LBN information on the information storage medium as shown in FIG. 38 and causing the file system side to reproduce information without the intervention of the information recording and reproducing device 3 (in this case, the file system side directly deals with the process of recording the defect management information on the information storage medium).

[0840] In the embodiment of the present invention shown in Table 4, XX, XX-PS, LBN/ODD, LBN/ODD-PS, LBN/XXX, and LBN/XXX-PS use the form of FIG. 37. LBN/UDF, LBN/UDF-PS, and LBN/UDF-CadFix use the form of FIG. 38.

[0841] As shown in FIGS. 3 and 4, the defect management information corresponding to the linear replacement method has been recorded as PSN information or secondary defect management information 3413 in the DMA areas 663, 691 in the rewritable data zones 613, 645 in the lead-in area 1002 and lead-out area 1005.

[0842] The embodiment of the present invention is characterized in that the secondary defect management information (SDL 3413) corresponding to PC data and the defect management information (TDL 3414) corresponding to AV data (video data) are recorded in such a manner that the former is distinguished from the latter.

[0843] Specifically, in the present invention, the defect management information corresponding to the skipping replacement method is defined as a tertiary defect list 3414. One replacement process (for example, the setting of the replacement area 3456 for the defective area 2452 indicated by γ in FIG. 35) is assigned TDL entry 3427 and TDL entry 3428.

[0844] A combination of the begin sector 3431 in a defect ECC block, defect area place information, and the begin position sector number 3432 in the replacement ECC block in the defect block indicating the replacement place has been registered in the linear replacement method.

[0845] In the skipping replacement method, since it is decided that the place of the replacement area 3456 should be immediately behind the defective area 3452, a combination of the begin sector number (PSN) 3433 in a defective ECC block and the location 3443 in which “FFFFFFh” has been recorded as skipping replacement identification information instead of replacement area location specification is used as the information in the TDL entries 3427, 3428. With this recording method, the defect management information compatible with the SDL entries 3422, 3423 corresponding to the linear replacement can be recorded on the information storage medium.

[0846] All the defect management information shown in FIG. 37 is managed on the information recording and reproducing device 3 side. TDL 3414 information or SDL 3413 information reproduced on the information recording and reproducing device 3 side are all recorded in PSN. As indicated by β and γ, a one-to-one correspondence between PSN and LBN holds for each of the defect processing methods. Specifically, after “PSN→LSN conversion” is caused using the relationship shown in FIG. 11, “LSN→LBN conversion” is caused using the relationship shown in FIGS. 14 and 15 and thereafter the defect management information is reported as LBN information to the file system 2 side.

[0847] The defect management of FIG. 37 is managed by the information recording and reproducing device, whereas the defect management information of FIG. 38 is managed by the file system 2 side and recorded on the information storage medium (optical disk 1001) in LBN information form.

[0848] The information is recorded in the main volume descriptor sequence 449 managed by UDF in the volume & file manager information 1003. The defect information is generically called a sparing table 469. The defect management information corresponding to the linear replacement is recorded in a secondary defect map 3471 and the defect management information corresponding to the skipping replacement is recorded in a tertiary defect map 3472. Either has SD map entries 3482, 3483 and TD map entries 3487, 3488 for each replacement process. The contents of information written in each map entry are the same as indicated by g in FIG. 37.

[0849]FIG. 39 shows comparison between skipping replacement and linear replacement in the relationship between the defect management information of FIG. 38 and the defect/replacement process recorded on the information storage medium.

[0850] The begin sector number 3493 in a defective ECC block in TDM 3472 specifies the defective area 3452 indicated by γ in FIG. 39 (managed in ECC blocks= units of 16 sectors). Because the replacement area 3456 in which the video information for that place is to be recorded is always immediately behind the defective area 3452, “FFFFh” 3494 has been written as shown by g in FIG. 38.

[0851] As shown in Table 7, other embodiments of the present invention that causes the file system 2 side to manage management information are as follows:

[0852] (1) A hidden file is created and defect map information is written in the file.

[0853] (2) A long allocation descriptor (explained in FIG. 17) is used in AV files and a defect flag is set in Implementation Use 412.

[0854] As explained above, although additional setting can be done in the replacement area 3456 in recording AV information, replacement is impossible when the spare area 24 has been used up, because the replacement area for defects in the PC information has been set in the spare area 724 indicated by β in FIG. 35 beforehand. To solve this problem, an embodiment of the present invention indicated by β in FIG. 39 is provided. The present invention is characterized in that, when the spare area 724 indicated by β in FIG. 35 has become full, a replacement-only file 3501 is set in the user area 723 as indicated by β in FIG. 39 in the embodiment of the present invention to secure an additional replacement area for a defective area in recording PC files.

[0855]FIG. 40 is a flowchart to help explain the procedure for creating the replacement-only file 3501.

[0856] After an information storage medium has been installed on the information recording and reproducing device (ST41), the information recording and reproducing device checks the DMA areas 663, 691 (d in FIG. 37) on the information storage medium and then checks the spare area for the empty area size (ST42). If having judged that there is only a little room left (ST43), the information recording and reproducing device issues a GETSPRE file command to the file system 2 and asks it to create a replacement-only file 3501 (ST45). In response to this, the file system side creates a replacement-only file 3501 and add it as a hidden file to the directory of FIG. 25.

[0857] The identification information for the replacement-only file 3501 is recorded as a replacement area setting file flag in a file identification descriptor 3364 as shown in a replacement-only file in FIG. 21 or indicated by d in FIG. 60 explained layer. In the case of the replacement-only file 3501, the bit for the replacement-only file flag 3371 is made “1.” This method is determined by the UDF.

[0858] As another embodiment of the identification information about the replacement-only file 3501, a replacement-only file flag 3372 may be provided in the ICG tag 418 of the file entry 3520 as indicated by f in FIG. 59 explained later. Because the area is managed by the file system 2 side, the information recording and reproducing device has to issue a GETSPARE command to the file system 2 and be given setting location information about the replacement-only file 3501 (ST46). In recording PC information, the information recording and reproducing device replaces the defective area using information about the replacement-only file 3501 given from the file system 2 and records the result in the SDL indicated by e in FIG. 37 (ST49).

[0859] As for the defect management information recorded in the SDL, the begin sector number 3491 in a defective ECC block in SDM 3471 indicated by g in FIG. 38 specifies the defective area 3451 (ECC block=16 sectors) indicated by β in FIG. 39, and the begin position sector number 3492 in a replacement ECC block in the defective block represents the replacement area 3455 in the replacement-only file 3501. As seen from β in FIG. 39, the LBN area in the replacement-only file 3501 is used in the same replacement as linear replacement using the spare area 724.

[0860] According to the above embodiment of the present invention, because the replacement area 3455 can be additionally set in any place in the user area 23, replacement areas can be increased as the number of defects occurred on the information storage medium increases.

[0861] As explained in FIGS. 32 to 34, to assure continuous recording of video information, recording and partial deleting have to be done in contiguous data areas. As indicated by a in FIG. 43, when a small amount of video information 3513 is added to the already recorded video information 3511, contiguous data area #3 3507 is secured as indicated by b in FIG. 43 and the remaining part is managed as an unused area 3515. When a small amount of video information 3514 is further added, the information is recorded, starting at the begin position of the unused area 3515.

[0862] In a method of managing the begin position of the unused area 3516, information representing information length 3517 is used in the embodiments of LBN/ODD, LBN/ODD-PS, LBN/UDF, LBN/UDF-PS, LBN/UDF-CADFix, LBN/XXX, and LBN/XXX-PS in Table 4.

[0863] The information length 3517 has been recorded in the file entry 3520 as shown in FIG. 44. The information length 3517 means the size of information actually recorded from the head of the AV file as indicated by c in FIG. 43.

[0864] In FIG. 43, the letter d indicates a representation of an unused (unrecorded) area. Specifically, an used area is represented by “unused area size=the size of extent #1+the size of extent #2+the size of extent #3−information length size.”

[0865] As seen from this equation, the size of the whole file is expressed by the information length of a file entry and an extended file entry (unused area extent). This makes it easier to recognize the unused area extent.

[0866] Some embodiments of the present invention require contiguous data areas to be dealt with when part of an AV file is deleted. Of the embodiments shown in Table 4, in LBN/UDF and LBN/XXX, the position of the boundary between contiguous data areas is not secured when part of an AV file is deleted as shown in FIG. 45, and the part to be deleted is deleted completely.

[0867] When video object #B 3552, the part to be deleted, extends over part of extent #2 (CDA: contiguous data area #β) and part of extent #4 (CDA #δ) as shown in FIG. 45, the size of extent #6 3546 and that of extent #7 3547 become smaller than the contiguous data area allowed minimum value after deletion, as indicated by b in FIG. 45.

[0868] In contrast, of the embodiments shown in Table 4, in xx, XX-PS, LBN/ODD, and LBN/ODD-PS, the recording/reproducing application 1 manages the boundary between contiguous data areas. Specifically, since information about the position of the boundary between contiguous data areas has been recorded in the allocation map table as shown in Table 6, when video object #B 3532 is deleted, the part extending over CDA #β 3536 and CDA #δ 3538 are newly defined as unused VOBs 3552, 2553 on the recording/reproducing application 1 side. As shown in FIGS. 30 and 31, they are registered additionally in the same form as that of information 3196 in unused VOB #A in the video object control information. This embodiment is shown in FIG. 46.

[0869] Of the embodiments listed in Table 4, in LBN/UDF-CDAFix, LBN/UDF-PS, and LBN-XXX-PS, the file system 2 side manages the position of the boundary between contiguous data areas. In LBN/UDF-CDAFix, CDA has been divided beforehand as shown in FIG. 47 in all the recording area on the information storage medium. The contiguous data area boundary position management information has been recorded in the boot descriptor 447, the boot area in the volume recognition sequence 444 in UDF as shown in FIG. 48. Each CDA is managed separately using separate CDA entries and its size 3557 and begin LBN 3558 have been recorded.

[0870] The embodiments LBN/UDF-PS and LBN/XXX-PS do not have such preliminary information and enable CDA areas to be set arbitrarily.

[0871] After the recording/reproducing application 1 side specifies the AV address for the begin position of video object #B 3532 to be deleted and its data size (see FIG. 47), the file system 2 side makes the partial delete place extending over CDA #β and CDA #δ unused extents 3548, 3549 and registers the unused extents 3548, 3549 in the file entry of an AV file. As for the identification information for the unused extents 3548, 3549, the allocation descriptor 420 in the file entry 3520 for video information (AV file) as shown in FIG. 17 or as indicated by f in FIG. 44 is made a long allocation descriptor and an “unused extent flag” is set as an attribute in Implementation Use 3528, 412.

[0872] When a DVD-RAM disk is used as an information storage medium, recording and partial deleting have to be done in units of EEC block 502 as shown in FIG. 7. Thus, the position of the boundary between ECC blocks has to be managed. In this case, when there is a gap between the position of the boundary between delete specified areas and the position of the boundary between EEC blocks, unused extents 3548, 3549 are set in fractional places as indicated by b in FIG. 47 and an attribute description place is provided as indicated by f in FIG. 44 and an “unused extent flag” is set there.

[0873] Therefore, although explained again, the real-time file (AV file) is composed of a real-time extent (recorded section) and an unused extent (empty extent). Information (management information) about the position of the recorded section and that of the unused extent are written in an allocation descriptor. The allocation descriptor manages AV files and unused area extents (extents set as unrecorded, although nothing has actually been recorded therein). As shown in FIG. 44 or by f in FIG. 83, this level of hierarchy includes information about the size of extents and the type of extents (recorded or unrecorded). This makes it easier to cope with various types of files, search for recorded area and unrecorded area, and calculate the capacity. The extent management information is written in the form explained in, for example, FIGS. 18A and 18B.

[0874] Whether recorded files are AV files can be determined by the identification information about file type written in the ICB (information control block) tag as described earlier.

[0875] As for the recorded area extent and the unused area extent in the AV file, the length of the allocation space is an integral multiple of an ECC block and the first logical sector number in the allocation space corresponds to an integral multiple of an ECC block.

[0876] To secure the CDA boundary position and the ECC block boundary position, the method of setting unused areas in additional recording/partial deleting has been explained by reference to FIGS. 43, 44, 45, 46, and 47.

[0877] Table 8 lists embodiments other than those described above. An embodiment indicated by circled 6 in Table 8 records unused area start LBN in Implementation Use, which differs a little from the embodiment of FIG. 44 which sets the “unused extent flag” in the same place.

[0878] Of the embodiments in Table 4, the difference between the extent setting method after video information recording in LBN/UDF and that in LBN/XXX will be explained by reference to FIG. 49 and FIGS. 50A and 50B. In both of LBN/UDF and LBN/XXX, the defect management information is recorded on the information storage medium when a defective area on the information storage medium has been found during video information recording. In LBN/UDF, the defect management information is recorded in TDM (TDM 3472 indicated by e in FIG. 38) managed by the file system 2. In LBN/UDF, since defects are managed on the file system 2, extent #4 3574 including defective area 3566 can be set (as indicted by e in FIG. 49). In LBN/XXX, the defect management information is recorded in TDL (TDL 3414 indicated by e in FIG. 37) managed by the information recording and reproducing device 3 and extents are set, avoiding the defective area 3566 (see FIG. 50A).

[0879]FIG. 50B shows another embodiment of FIG. 50A.

[0880] A method of managing the defective area 3566 shown in FIG. 50B uses the method written in the column marked with circled 2 in Table 7. Specifically, apart from extent #1 3571, extent #2 3572, and extent #3 3573 in which video information has been recorded, a defect extent 3595 is also set in the defective area 3566 and information on the defect extent is registered in the file entry of the AV file.

[0881] A method of writing the extent information in that case uses a long allocation descriptor. For the defect extent 3595, a “defect flag” is provided in Implementation Use 3528 (see FIG. 44) and the flag is set to “1.”

[0882] Consider a case where an extent is set, avoiding the defective area 3566 as shown in FIG. 50A. After AV information has been recorded in the form shown in FIG. 49 or indicated by e in FIG. 50A, the following are done:

[0883] (1) After the completion of AV information recording, another PC file is recorded in the LBN place corresponding to the defective area 3566 (in this case, linear replacement is performed).

[0884] (2) To delete the AV file previously recorded, contiguous data area #B shown in FIG. 49 or indicated by a in FIG. 50A is deleted.

[0885] (3) The process of recording another AV information in the place of contiguous data area #B just deleted might take place. In this case, on the LBN space, a PC file has been already recorded in the LBN place corresponding to the defective area 3566.

[0886] The embodiment LBN/XXX of the present invention is characterized in that a contiguous data area 3593 can be set in such a manner that it extends over an existing PC file 3582. A concrete setting method will be explained later in detail in FIG. 56.

[0887] In the present invention, the setting conditions for the contiguous data area (CDA) 3593 are as follows:

[0888] (a) The total number Npc of the existing PC files 3582 that can exist in the contiguous data area 3593 or defect area subjected linear replacement has to satisfy expressing (28).

[0889] (b) The total defect size Lskip requiring skipping replacement in the contiguous data area including the defective area 3586 subjected to skipping replacement has to satisfy expression (29).

[0890] (c) When the optical head accesses the recording area next to the contiguous data area, avoiding the existing PC file 3582 that can be present in the contiguous data area 3593 or the defective area 3586 subjected to replacement, rough access times 2348, 1376 have to be made unnecessary.

[0891] The size of the existing PC file 3582 or the defective area 3586 subjected to replacement is set so small that rough access is not needed during the accessing of the optical head.

[0892] When AV information is recorded in the contiguous data area 3593, AV information about the following is not recorded on the information storage medium at all:

[0893] (1) The time required for the optical head to access the next recording area, avoiding the existing PC file 3582 that can be present in the contiguous data area 3593 or the defective area 3586 subjected to replacement.

[0894] (2) The period of time in which the skipping process is performed on a defective area 3587 subjected to skipping replacement in the preceding recording and the defective area newly found in the present recording.

[0895] Therefore, in the period of time, the amount of video information temporarily stored in the semiconductor memory in the information recording and reproducing device increases steadily as in the period of rough access time 1348, fine access time 1343, or rotation wait time 1346. Therefore, this period can be treated in the same manner as rough access time 1348, fine access time 1343, and rotation wait time 1346. The total size of the defective area 3587 subjected to skipping replacement in the preceding recording and the defective area newly found in the present recording and needing the skipping process is defined as Lskip.

[0896] The total time Tskip required for the optical head to pass through Lskip is:

Tskip=Lskip÷PTR  (21)

[0897] Taking this condition into account, expression (8) is rearranged as:

CDAS≧STR×PTR×(Ta+Tskip)/(PTR−STR)  (22)

[0898] When the optical head accesses the next recording area, avoiding the existing PC file 3582 that can be present in the contiguous data area 3593 or the defective area 3586 subjected to replacement, it accesses the next recording area by track jumping. At this time, the size of the existing PC file 3582 and that of the defective area 3586 subjected to linear replacement are made smaller to the extent that rough access times 1348, 1376 are unnecessary.

[0899] In a general DVD-RAM drive, the moving distance of the objective in fine access is about ±200 μm. The track pitch (Pt) of the DVD-RAM disk is:

Pt=0.74 μm  (23)

[0900] The minimum data size (Dt) per track is:

Dt=17×2 kilobytes=34 kilobytes  (24)

[0901] From these, the size of each of the existing PC file 3582 and the defective area 3586 subjected to linear replacement has to be equal to or less than the following:

200÷0.74×34=9190 kilobytes  (25)

[0902] Taking various margins into account, it is desirable that the actual allowed maximum size should be equal or less than ¼ of the value of equation (25), or 2300 kilobytes. When the above condition is satisfied, only the fine access time 1343 and rotation wait time 1346 have only to be taken into account in accessing the next recording area in the contiguous data area. If the fine access time required for one access is JATa, the rotation wait time 1346 is MWTa, and the total number of the existing PC files 3582 in the contiguous data area and the defective areas subjected to linear replacement is Npc, the total access time Tpc required to avoid the above areas is expressed as:

Tpc=Npc×(JATa+MWTa)  (26)

[0903] Taking this time into account, expression (22) is rearranged as:

CDAS≧STR×PTR×(Ta+Tskip+Tpc)/(PTR−STR)  (27)

[0904] Using the respective values of equations (10), (13), and (15) gives the following results, depending on the value of (Tskip+Tpc)/Ta:

[0905] When (Tskip+Tpc)/Ta=20%, this gives CDAS≧ 6.5 megabytes.

[0906] When (Tskip+Tpc)/Ta=10%, this gives CDAS≧ 5.9 megabytes.

[0907] When (Tskip+Tpc)/Ta=5%, this gives CDAS≧ 5.7 megabytes.

[0908] When (Tskip+Tpc)/Ta=3%, this gives CDAS≧ 5.6 megabytes.

[0909] When (Tskip+Tpc)/Ta=1%, this gives CDAS≧ 5.5 megabytes.

[0910] From expression (27) and equation (26), the following is derived:

Npc≦{[CDAS×(PTR−STR)/(STR×PTR)]− Ta−Tskip}/(JATa+MWTa)  (28)

[0911] From expression (27) and equation (21), the following is derived:

Lskip≦{[CDAS×(PTR−STR)/(STR×PTR)]− Ta−Tpc}×PTR  (29)

[0912] Using expression (28), the values of equations (10), (13), and (15), and MWTa≈18 ms, and JATa≈ 5 ms gives the following results, depending on the value of (Tskip+Tpc)/Ta and the value of Tskip:

[0913] When (Tskip+Tpc)/Ta=10% and Tskip=0, this gives Npc≦6.

[0914] When (Tskip+Tpc)/Ta=5% and Tskip=0, this gives Npc≦3.

[0915] When (Tskip+Tpc)/Ta=3% and Tskip=0, this gives Npc≦1.

[0916] When (Tskip+Tpc)/Ta=1% and Tskip=0, this gives Npc≦0.

[0917] Using expression (29), the values of equations (10), (13), and (15) gives the following results, depending on the value of (Tskip+Tskip)/Ta and the value of Tpc:

[0918] When (Tskip+Tskip)/Ta=10% and Tpc=0, this gives Lskip≦208 kilobytes.

[0919] When (Tskip+Tskip)/Ta=5% and Tpc=0, this gives Lskip≦104 kilobytes.

[0920] When (Tskip+Tskip)/Ta=3% and Tpc=0, this gives Lskip≦62 kilobytes.

[0921] When (Tskip+Tskip)/Ta=1% and Tpc=0, this gives Lskip≦0 kilobytes.

[0922]FIG. 32 is a conceptual diagram of a recording route system to help explain continuity in recording.

[0923] In the above explanation, the conceptual diagram of the AV information recording route system of FIG. 32 has been used. As long as the basic concept is examined, no problem is in using FIG. 32. For more detailed examination, a conceptual model for the recording route system shown in FIG. 52 will be used.

[0924] When recording is done with the PC system shown in FIG. 1, the AV information inputted from the outside world is converted by the MPEG board 134 into a digital compressed signal, which is temporarily recorded in the main memory 112. Under the control of the main CPU 111, the compressed signal is transferred to the information recording and reproducing device 140 side of FIG. 1. The information recording and reproducing device 140 also have the buffer memory 219 in it and stores the transferred digital AV information temporarily in the buffer memory 219.

[0925] A concrete flow of information will be explained by reference to FIGS. 53A to 53C. In a conventional method, the video information 3301 stored in the main memory 112 on the PC side shown in FIG. 52 is transferred together with a write command to the information recording and reproducing device 140 side. The write command in the conventional method specifies LBN indicating the start position of recording and the size of the data to be transferred. After the transferred video information is stored temporarily in an empty area 3311 (FIG. 53A) to which no data has been transferred yet in the memory 219 of the information recording and reproducing device, it is recorded in a recording place 3327 by the first write command on the information storage medium as shown in FIG. 53B. By the next command, the video information is stored temporarily in an area for video information 3315 to be recorded on the information storage medium in the memory 219 of the information recording and reproducing device, and then the video data starts to be recorded in an unrecorded area 3324 on the information storage medium. When a defective area 3330 has occurred in the middle of recording as shown in FIG. 53C, part of the video information 3315 to be recorded does not fit in a specific range (the range of the unrecorded area 3324) on the information storage medium as a result of skipping replacement and overflow information 3321 occurs. At the same time, the information recording and reproducing device interrupts the recording process.

[0926] As described above, with the conventional command that gives LBN indicating the recording start position and the transfer information size, use of the skipping replacement algorithm interrupts the recording process.

[0927] Following is an explanation of a method of the present invention which enables AV information to be recorded continuously for a long time without interruption, even when a large number of defect have occurred on the information storage medium.

[0928] A method of recording AV information according to the present invention is characterized by comprising the following steps as shown in FIG. 54:

[0929] The step of judging whether the file to be recorded is an AV file (ST01).

[0930] The step of setting the video information recording place on the information storage medium in advance (ST02).

[0931] The step of recording AV information on the information storage medium (ST03).

[0932] The step of recording the information layout information actually recorded on the information storage medium in the management area on the information storage medium (ST04).

[0933] These steps are mainly controlled by the file system 2.

[0934]FIG. 55 shows the contents of step ST00 of FIG. 54 in further detail. FIG. 56 shows the contents of step ST02 of FIG. 54 in further detail. FIG. 57 shows the contents of step ST03 of FIG. 54 in further detail. FIG. 58 shows the contents of step ST04 of FIG. 54 in further detail.

[0935] All processes on the information storage medium, including the recording of information, the playback of information, and the partial deleting of the information in an AV file, are started only after the recording/reproducing application 1 in Table 3 has told the file system 2 in the OS an outline of the process.

[0936] The recording/reproducing application 1 side informs the file system 2 of the outline of the process by issuing a SDK API command 4. Receiving the SDK API command 4, the file system 2 side interprets the contents of the instructions concretely and issues a DDK interface command 5 to the information recording and reproducing device 3, thereby executing a concrete process.

[0937] Table 9 lists the API commands (SDK API command 4) necessary to execute the processes shown in FIG. 54 in the embodiments of the present invention LBN/UDF and LBN/XXX.

[0938] A new matter added and a new command in COMMAND TYPE 3405 in Table 9 are in the scope of the present invention. A series of processes carried out on the recording/reproducing application 1 using the API commands will be explained below.

[0939] <AV information recording process>

[0940] 1^(st) STEP: Issue a file create command to inform the OS side of the start of recording and the attribute of the target file (whether the file is an AV file or a PC file).

[0941] 2^(nd) STEP: Issue a set unrecorded area command to specify an estimated maximum size of AV information to be recorded on the information storage medium.

[0942] 3^(rd) STEP: Issue a write file command (to OS several times) to inform the OS/file system side of AV information transfer.

[0943] 4^(th) STEP: Issue a set unrecorded area command when the size of AV information to be recorded in the future is known after the series of AV information recording processes has been completed, in order to secure in advance the area in which the AV information is to be recorded next time.

[0944] In the information storage medium of the present invention, both AV information and PC information can be recorded on the same information storage medium. Thus, there may be a case where PC information is recorded in the empty area before the subsequent AV information is recorded, with the result that the empty area has run short when the subsequent AV information is recorded.

[0945] To avoid this, an unused area of a large size is set in an AV file and the subsequent AV information recording place is reserved in advance (the 4^(th) STEP may not be executed).

[0946] 5^(th) STEP: Issue a close handle command to inform the OS/file system side of the end of the series of recording processes.

[0947] The conventional PC information recording commands are also used as the write file command and close handle command, except that an AV file attribute flag is added to the file create command. Such setting makes it unnecessary to change the program as a result of changing the video information recording method in a higher layer closer to the API interface in the multilayer OS. This enables the existing OS software to be used as it is in the higher layer. On the file system side belonging to a lower-layer part of the OS close to the information recording and reproducing device, only the file system side judges whether the file to be dealt with by the method of FIG. 55 is an AV file or a PC file and selects a command to be used for the information recording and reproducing device.

[0948] All addresses for recording places are set in AV addresses.

[0949] <AV/PC information playback process>

[0950] 1^(st) STEP: Issue a file create command to inform the OS side of the start of playback.

[0951] 2^(nd) STEP: Issue a read file command (to OS several times) to specify a series of playback processes.

[0952] 3^(rd) STEP: Issue a close handle command to inform the OS/file system side of the end of the series of playback processes.

[0953] In playback, common processes are performed on both AV files and PC files.

[0954] All addresses for playback places are set in AV addresses.

[0955] <Partial deleting process of AV files>

[0956] 1^(st) STEP: Issue a file create command to inform the OS side of the name of the file to be deleted partly.

[0957] 2^(nd) STEP: Issue a file partial delete command to specify the deleting of the specified range.

[0958] In the file partial delete command, the AV address at which deleting to be started and the size of the data to be deleted are specified in parameters.

[0959] 3^(rd) STEP: Issue a close handle command to inform the OS/file system side of the end of the series of playback processes.

[0960] <Inquiring about the size of an unrecorded area in which AV information can be recorded on the information storage medium>

[0961] 1^(st) STEP: Issue a get AV free space size command to inquire about the size of an unrecorded area in which AV information can be recorded.

[0962] Just issuing the get AV free space size command to the OS side enables the size of the unrecorded area to be obtained from the OS side.

[0963] <Defragmentation process>

[0964] 1st STEP: Issue an AV Defragmentation command to instruct the OS side to execute an AV file Defragmentation process.

[0965] The AV Defragmentation command alone can carry out the AV file Defragmentation process.

[0966] In a concrete method of processing the AV Defragmentation command, small pieces of file information of the extent size interspersed on the information storage medium are moved extent by extent and the contiguous data area securing space in the unrecorded area is widen.

[0967] Table 10 shows a list of the DDK interface commands 5 issued by the file system 2 to the information recording and reproducing device 3 side after having interpreted the SDKAPI command concretely.

[0968] The commands excluding the READ command are either new commands provided in the present invention or the existing commands partially modified.

[0969] The information recording and reproducing device is connected to, for example, the IEEE 1394 and performs information transfer with a plurality of devices simultaneously. In explanation of Table 3 or FIG. 1, the information recording and reproducing device 3 or 140 is connected only to the single main CPU 111. In contrast, when the information recording and reproducing device is connected to the IEEE 1394 or the like, it is connected to the main CPU of each device. To prevent information from being transferred to the wrong device, SLOT_ID, identification information for each device, is used. The SLOT_ID is issued on the information recording and reproducing device 3 or 140 side. A GET FREE SLOT_ID command is issued on the file system 2 side and not only declares the start and end of AV information using an AV write start flag and an AV write end flag as parameters but also instructs the information recording and reproducing device to issue S10T_ID at the time of declaring the start of AV information.

[0970] The recording start position in the AV write command is set automatically as the current position (the subsequent AV information is recorded from the LBN position at which recording has been completed by the preceding AV write command). An AV write number is set in each AV write command. Using the AV write number, a DISCARD PRECEDING command (see Table 10) makes it possible to cancel the issue of the already issued AV write command recorded in the buffer memory 219 as a command cache of the information recording and reproducing device.

[0971] As shown in FIG. 33, there is a GET WRTE STATUS command that enables the file system 2 side to perform a suitable process before the amount of AV information temporarily stored in the buffer memory 219 of the information recording and reproducing device. The amount of room in the buffer memory 219 is reported as the return value 3344 of the GET WRITE STATUS command, which enables the file system 2 side to grasp the status of the buffer memory 219.

[0972] In the embodiment of the present invention, the GET WRITE STATUS command is inserted each time as much AV information as equals records in a single contiguous data area is issued in an AV write command, which causes the check target size and check start LBN, the command parameters 3343 in the GET WRITE STATUS command, to match with the target contiguous data area. Because the defective area found in the target range is given as the begin LBN of each ECC block using the return value 3344, this information is used in setting an extent (ST4-04) after AV information has been recorded.

[0973] A SEND PRESENT EXTENT ALLOCATION MAP command is a command to inform the information recording and reproducing device of all the scheduled recording places as LBN information before AV information is recorded. The command has the number of extents in the scheduled recording places, the begin position (LBN) for each extent, and the size of each extent as command parameters. The scheduled recording places on the information storage medium are set on the basis of the zone boundary position information and the DMA information after LBN conversion, the return value of the GET PERFORMANCE issued beforehand.

[0974] Hereinafter, the processing method in each step shown in FIG. 54 will be explained in further detail.

[0975] As for identification information about AV files, an AV file identification flag 3362, or an identification flag for what is called a real-time recording file, is set in a flags field in ICB tag 3361 in the ICB tag 418 of a file entry 3520 as shown in FIGS. 20A and 20B or indicated by f in FIG. 59. Setting the flag to “1” makes it possible to judge whether the file is an AV file.

[0976] In another embodiment of the present invention, an AV file identification flag 3364 may be set in the file identification descriptor 3364 as indicated by d in FIG. 60.

[0977]FIG. 55 is a concrete flowchart for the step of judging whether the file is an AV file shown in ST01 in FIG. 54.

[0978] Only when the recording/reproducing application 2 side issues a create file command, processing is started (ST1-01). The method of distinguishing an AV file varies depending on the condition (ST1-02) as follows:

[0979] When a new AV file is created, the AV file is distinguished using the AV file attribute flag in the create file command (ST 103).

[0980] When AV information is added to the existing AV file, the AV file is distinguished using the attribute flag for the file already recorded on the information storage medium as shown in FIG. 59 or 60 (ST1-04).

[0981] Use of the method produces the effect of making it unnecessary to manage the attribute of each file (whether the file is an AV file or a PC file) on the application program 1 side (or of making a judgment on the file system 2 side automatically and switching the recording method (ST1-05).

[0982] With such a method, when the file is a PC file, the conventional write command and linear replacement algorithm are executed. When the file is an AV file, the AV write command and skipping replacement algorithm are executed.

[0983] After having issued the file create command, the recording/reproducing application 1 side sets an estimated maximum value of the AV information scheduled recording size and issues a set unrecorded area command. On the basis of the distribution of defects obtained from the specification information and GET PERFORMANCE command and the zone boundary position information, the contiguous data area is set so as to suit the maximum information size to be recorded (ST02, and ST2-05, ST2-06, and ST2-07 in FIG. 56). Of course, before that, the size of an AV file unused area to be recorded on the information storage medium is recognized, information on the defective distribution is acquired, and information on the zone boundary position is acquired (ST2-01 to ST2-04).

[0984] When the embodiment of LBN/XXX in Table 4 is used, equation (25) and expression (27) are used as the setting condition.

[0985] On the basis of the result, information about the allocation descriptor in the file entry for the relevant AV file is recorded in advance (AT2-07). Executing this step produces the following effects:

[0986] (a) For example, when the information recording and reproducing device is connected to the IEEE 1394 or the like and records data with a plurality of devices simultaneously, it can prevent other information from being written in the position in which data is to be recorded.

[0987] (b) Even when the recording of AV information is interrupted in the course of continuous recording due to power failure, the information immediately before the interruption can be saved by tracing the scheduled recording positions in sequence after restart.

[0988] Thereafter, a send preset extent allocation map command is issued to inform the information recording and reproducing device side of the scheduled recording position information (ST2-08). Because the information recording and reproducing device is well aware of the recording positions on the information storage medium and the recording sequence by the advance notice, it can assure continuous recording without stopping the recording process, even when the skipping replacement algorithm is executed frequently due to defects on the information storage medium in recording AV information.

[0989] The details of the AV information continuous recording step shown in step ST03 of FIG. 54 will be explained by reference to FIG. 57.

[0990] Using information about information length 3517 shown in equation indicated by d in FIG. 43, the recording start position in the AV file is checked in advance (ST03-01). When the recording/reproducing application 1 issues a write file command (ST3-02), a GET FREE SLOT_ID command with an AV write start flag is issued to cause the information recording and reproducing device to issue SLOT_ID (ST3-03).

[0991]FIG. 61 pictorially shows the continuous recording method in ST3-04 and later. The pieces of video information #1, #2, and #3 stored in the main memory by the AV write command are transferred to the buffer memory 219 in the information recording and reproducing device periodically. The video information accumulated in the buffer memory 219 in the information recording and reproducing device is recorded on the information storage medium via the optical head 202. When a defective area 3351 has occurred on the information storage medium 201, the skipping replacement algorithm is executed. In the meantime, the video information is not recorded on the information storage medium 201, with the result that the amount of video information temporarily stored in the buffer memory 219 in the information recording and reproducing device increases. The file system 2 side issues a GET WRITE STATUS command at regular intervals of time and monitors the amount of video information temporarily stored in the buffer memory 219. When the amount of video information temporarily stored is going to be saturated, the file system side executes one of the following:

[0992] (1) Issue a DISCARD PRECEDING COMMAND command to delete part of the command cache in the information recording and reproducing device.

[0993] (2) Issue the next AV write command to limit (or decrease) the amount of video information to be transferred to the information recording and reproducing device.

[0994] (3) Delay the time at which the next AV write command is issued to the information recording and reproducing device and wait until the amount of video information temporarily stored in the buffer memory 219 in the information recording and reproducing device becomes smaller.

[0995] The above contents will be explained using concrete examples shown in FIGS. 62 to 69. The transition of recording information in three stages is shown in FIGS. 62 to 69. The first stage corresponds to the memory on the PC side, the second stage corresponds to the memory in the information recording and reproducing device, and the third step corresponds to the recording position on the information storage medium.

[0996] A SENT PRESET extent allocation map command preceded by circled 1 in FIG. 62 is issued according to step ST2-08 in FIG. 56. As shown in Table 10, since in this command, the extent begin position information and extent size information are set as command parameters, “a” and “d” and “g” . . . , the begin position LBN for extent=CDA, and “c−a” and “f−d” . . . , extent=CDA size, are added. Moreover, AV write commands preceded

[0997] by circled 2 and circled 3 are issued so as to record video information in CDA #1 in two separate actions.

[0998] Next, to grasp the recorded state of CDA #1, a GET WRITE STATUS command preceded by circled 4 is issued.

[0999] To specify CDA #1 as a check target by the GET WRITE STATUS command, “a” is set as the begin LBN for the check target range, the set value of a parameter, and “c−a” is set as the check target range. Similarly, AV write commands preceded by circled 5 and circled 6 are issued so as to record video information in CDA #2 in two separate actions. Then, to grasp the recorded state of CDA #2, a GET WRITE STATUS command preceded by circled 7 is issued.

[1000] The command is sent to the information recording and reproducing device at a time and command cache is performed (ST3-05 in FIG. 57).

[1001] When there is no defect in the unused place 3371 on the information storage medium shown in FIG. 63, recording information α 3361 is recorded on the information storage medium as shown in FIG. 64. Next, when a defective area 3375 has occurred as shown in FIG. 65, the skipping replacement algorithm is executed. Part of the video information scheduled to be recorded in CDA #1 overflows. However, since the second present extent allocation map command has informed the information recording and reproducing device 3 side of the location in which information is to be recorded next, the overflowed information is stored in the location 3371, shift information β3. Information about the defective area 3375 is reported as the return value 3344 of GET WRITE STATUS command preceded by circled 4 to the file system 2 side (see ST3-05 in FIG. 57, and FIGS. 62 and 66). The file system 2 judges whether the buffer memory 219 in the information recording and reproducing device (ODD) 3 is going to overflow (ST3-06 in FIG. 57). Then, in a concrete method shown in ST3-07 in FIG. 57, a DISCARD PRECEDING COMMAND command (indicated by circled 9 in FIG. 66) is used to cancel the AV write command (circled 8 in FIG. 62), a write command about the video information to be recorded in CAD #3 and then an AV write command (circled 10 in FIG. 66) is used to issue a command to limit (or decrease) the amount of video information to be transferred.

[1002] Because the feedback to CDA #2 is not in time, recording is done on the information storage medium as scheduled at the beginning as shown in FIG. 67.

[1003] As shown in FIG. 68, the recording start position in the AV write command used here is not the current position. It is assumed that the file system 2 side specifies the recording start position. In this case, too, the recording start position in which recording is actually done is allowed to deviated substantially from the recording start position specified by the file system 2 side on the basis of the defective area found in recording the preceding video information.

[1004] After the series of recording processes has been completed, a Close Handle command issued from the recording/reproducing application causes the file system 2 to issue a GET FREE SLOT_ID command with an AV write end flag to the information recording and reproducing device 3 side. Receiving the command, the information recording and reproducing device 3 adds the defective information found in the series of recording processes to TDL3414 in FIG. 37.

[1005] As the postprocess in recording the video information, the size of the unused area left in the AV files is determined on the basis of the SET Unrecorded area command information (ST403 in FIG. 58) specified by the recording/reproducing application 1 side. Then, the rewriting of information length 3517 (ST4-05), the rewriting of the final extent information (ST4-04), and the rewriting of setting information about UDF are effected.

[1006] Next, the procedure for allocating extents in recording real-time files will be explained.

[1007] The extent allocation procedure is designed to prevent underflow from occurring the buffer during playback.

[1008] When the symbols below are defined, the procedures for extents can be explained using the symbols:

[1009] Ai: Preallocation area (area physically connected by ECC and searched for before recording).

[1010] Ei: Unused extent (empty extent).

[1011] RTi: Real-time extent.

[1012] T_(RI): Ai read time.

[1013] T_(m,)n: Access time from the end of area Am to the start position of area An.

[1014] T_(k): the maximum time of one revolution period.

[1015] t2 _(i-2): Start time of reading from area Ai.

[1016] t2 _(i-1): End time of reading from area Ai.

[1017] B(t): The amount of data in the buffer memory at time t.

[1018] B_(max): Buffer memory size.

[1019] B_(F): The minimum amount of data in the buffer memory to set a preallocation area to be registered as an unused extent.

[1020] p: The maximum number of preallocation areas already registered as unused extents.

[1021] Step 1—Search of unallocated areas.

[1022] Unallocated areas (unused areas) physically connected are searched for by reference to the space bit map descriptor. At this time, the physical allocation data indicating the zone boundary and defective ECC blocks/sectors is also referred to. The unallocated area whose start logical number and length are an integral multiple of 16 logical sectors is regarded as preallocated area.

[1023] Even if some preallocated areas have not been used in recording real-time data, unallocated areas are searched for, provided that the total size of unallocated areas is large enough for the preset size of recording data. The space bit map descriptor is updated to reserve all the preallocated areas.

[1024] Step 2—Calculate the read time and access time.

[1025] Using data rate V_(in), the read time T_(Ri) for each preallocated area Ai is calculated. The access time Ti,I+1 based on access operation is calculated.

[1026] Step 3—Calculate the amount of data B(t) at the end of read operation.

[1027] The amount of data B(t) is calculated at the last time when the data is read from area Ai. B(t_(2i-1))= B(t_(2i-2))+(Vin−Vout)×T_(Ri).

[1028] After the data has been read from area Ai, the overflowing state of the buffer memory is checked.

[1029] If the amount of data B(t_(2i-1)) has exceeded the size Bmax of the buffer memory, B(t_(2i-1)) is corrected to be B(t_(2i-1))−k×Tk (k is a positive integer). This is a value smaller than Bmax.

[1030] Next, the total size of preallocated areas is checked. If the total size of preallocated areas Aj (from j=1 to 0) has exceeded the predetermined size (=Vout×recording time) of recording data, the preallocated areas Aj (from j=P+1 to i) are registered as unused extents Ej (from j=p+1 to i). Then, control proceeds to step 5 explained later.

[1031] Next, the amount of data B(t) at the end of the read time for area Ai is checked. If the amount of data B(t_(2i-1)) has exceeded the minimum amount of data BF (=Vout×T_(L)), the preallocated areas Aj (from j=P+1 to i) are registered as unused extents Ej (from j=p+1 to i), which are numbered from p to i.

[1032] Step 4—Calculate the amount of data B(t) at the start of read operation.

[1033] The amount of data B(t) at the start of reading data from area Ai+1 is calculated. B(t_(2i))= B(t_(2i-1))−(Vout×T_(i,i+1)).

[1034] Next, after the data has been read, the buffer memory is checked for underflow. If the amount of data B(t_(2i)) is less than 0, the following subroutine will operate.

[1035] Aj (from j=p+1 to i+1) is searched for the most effective preallocated area Ak. The purpose for this is to reduce the amount of data in the buffer memory. Aj is searched for, while comparison is being made as seen in value (B(t_(2j-3))−B(t_(2j-1)) where j=p+1 to i+1).

[1036] From preallocated areas Ai+1, Ai* (i=k, k+1, k+2, . . . ) are specified again. On the accessing process, access time T_(k−1), k+1 is calculated and set as T_(k−1, k)*.

[1037] From access time T_(i−2,i+2), T_(i, i+1) is specified again. From read times TRi+1, TRi* (i=k, k+2, k+2, . . . ) are specified again. Then, i is set to p and control goes to step 4, otherwise i is incremented by +1 and control goes to step 3.

[1038] Step 5—Record real-time data.

[1039] In this step, real-time data (AV data) is recorded in the unused extent registered in step 3. When the recording is ended in the middle of the preallocated area, the preallocated area is divided into a real-time extent, an unused extent, an unrecorded area. This is because data is recorded in ECC block units at a variable data rate.

[1040] Step 6—Record the file structure.

[1041] In this step, an information control block (ICB) is created. In the block, a real-time extent (recorded section) and unused (empty) extent are shown. To release the preallocated area not used for a real-time file, the space bit map is updated.

[1042] The management information about the unused extent and that about the information length, and further the setting of the unused extent are the same as explained earlier.

[1043] The procedure for reproducing the video information in an AV file by reference to FIG. 70. Table shows the following:

[1044] The recording/reproducing application 1 uses AV addresses as address information to be managed and further uses AV addresses to set addresses in SDKAPI command 4 issued to the file system 2.

[1045] The file system 2 uses LBN (or LSN depending on the situation) as address information to be managed and further uses LBN to set addresses in DDK Interface command 5 issued to the information recording and reproducing device 3.

[1046] The information recording and reproducing device 3 manages addresses using PSN.

[1047] Therefore, when the recording/reproducing application 1 determines the place to be reproduced and issues a read file command, then the file system 2 performs “AV address→LBN conversion” (ST06 in FIG. 70) and the information recording and reproducing device 3 performs “LBN→PSN conversion” (ST07).

[1048] In the method of deleting part of an AV file, the AV information recorded on the information storage medium is not processed at all as shown in FIG. 71 and only two things are performed: the file entry information on the file system 2 is rewritten (ST09 in FIG. 71) and information about UDF is changed.

[1049] Then, to register the partly deleted place as an unrecorded area, the partly deleted place is added to the information in the unallocated space table 452 or unallocated space bit map 435, the unrecorded area information on UDF (ST10). Finally, the management information about the video-recording video management data file is rewritten (ST11).

[1050] Of the embodiments listed in Table 4, the following management is performed in LBN/ODD-PS.

[1051] It is assumed that a video data recording area 12 and an unused area 13 have appeared as a result of new video-recording in the case of the contiguous data area minimum size 11 previously set as shown in FIG. 72. Then, at the LBN level, a contiguous data area 14 is newly set and a spare area 18 is added to this area. Next, at the PSN level, data recording areas 15, 16, and a defective area 17, if any, are set, and further a spare area 19 is secured. Then, All of these are set as a new AV extent 20 at LBN level.

[1052] Specifically, a spare area 18 is added automatically to each contiguous data area, thereby forming an AV extent 20 as shown in FIG. 72. LBN is also set in the added spare area 18. Similarly, LBN is also set in the defective area 17. The defective area 17 on the information storage medium 17 is subjected to the skipping replacement algorithm. Then, an LBN setting method as indicated by γ in FIG. 35 is carried out. The difference from the other embodiments is that the file system 2 side is not informed of the location of the defective area, although LBN has been allocated to the defective area, and only the information recording and reproducing device manages the location of the defective area 17. When the file system 2 side is required to reproduce information, an AV read command issued to the information recording and reproducing device specifies LBN indicating the start position of an AV extent 20 serving as a reference, the effective playback start position counted from the start position (excluding the defective area), and the real size of data to be reproduced (on the assumption that skipping is done at the defective spot). This enables the information recording and reproducing device side to reproduce the information, avoiding the defective area 17 automatically, and gives a replay to the file system 2 side.

[1053]FIG. 73 shows a management form in writing information over part of the already recorded information. In this case, information is allowed to be written only over from the middle to the end of the contiguous data area 34. Specifically, a video data recording area 35 recorded in the past includes a data recording area 23 and a defective area 28, if any. A spare area 31 is added to these. When overwriting is done in the middle, the contiguous data area 34 is set. The contiguous data area 34 includes a video data area 36 recorded in the past and a video data recording area 37 newly overwritten (AV address level).

[1054] At the PSN level, data recording areas 25, 26, 27 and defective areas 29, 30 are managed. In addition, a spare area 32 is set.

[1055]FIG. 74 shows two management forms when overwriting is stopped halfway. In this case, the information already recorded after that in the same contiguous data area (CDA) is treated as invalid. (a) A case where overwriting is done from the beginning of the CDA and (b) a case where overwriting is done from the middle of the CDA are shown.

[1056]FIG. 75 shows a management form in deleting part of an AV file. In this case, a decision is made to effect partial deleting in units of contiguous data area (e.g., AV extent #2 46).

[1057] Table 11 to Table 14 show the parameters for the commands related to recording and playback in the embodiment LBN/ODD-PS and the contents of the commands.

[1058] Table 11 relates to a write command from the recording/reproducing application to the file system. -Table 12 relates to a read command. Table 13 relates to a write command from the file system to the recording and reproducing device. Table 14 relates to a read command.

[1059]FIGS. 76, 77, and 78 show the process of recording video data in the embodiment LBN/ODD-PS and the corresponding flowcharts. FIGS. 77 and 78 give a description of the way of processing video data #1 and video data #2 to be recorded as shown in FIG. 76.

[1060] The embodiment of the present invention is characterized in that the skipping replacement process is completed in each AV extent using spare areas 3111, 3112 added to each of AV extent #1 3101 and AV extent #2 3102.

[1061] Hereinafter, each step will be described as follow:

[1062] Set the size of contiguous data area #1 3106 initially on the recording/reproducing application 1 side (ST21).

[1063] Inquire recommended (spare area size)/(contiguous data area size) value from ODD (information recording and reproducing device) 3 (ST22).

[1064] Set the size of AV extent #1 3101 initially (set spare area size #1) (ST23).

[1065] —Spare area size #1 3111 is set on the “recording/reproducing 1 side” or “file system 2 side.”

[1066] Transfer video data 3125 to the ODD 3 side using a first AV write command (ST24).

[1067] Execute the skipping process in ODD 3, when a defective area 3138 has been found in recording information on the information storage medium (ST25).

[1068] Transfer video data 3126 to the ODD 3 side using a second AV write command (ST26).

[1069] —The last recording in AV extent #1 3101 is known in the second AV write command (using the last flag of the contiguous data area flag).

[1070] Put together the information in the last AV extent #1 3103 on the file system 2 side and store the result temporarily in the buffer memory on the file system 2 side (ST27).

[1071] Set the size of contiguous data area #2 3102 initially on the recording and reproducing application 1 side (ST28).

[1072] Set the size of AV extent #2 3102 initially (set spare area size #2) (ST29).

[1073] —Spare area size #2 3112 is set on the “recording/reproducing 1 side” or “file system 2 side.”

[1074] Transfer video data 3127 to the ODD 3 side using a third AV write command (ST30).

[1075] Execute the skipping process in ODD 3, when a defective area 3139 has been found in recording information on the information storage medium (ST31).

[1076] The user presses the video-recording end button (ST32).

[1077] Determine the unused area size 3136 according to the contiguous data area minimum size 11 determined previously on the recording/reproducing application side (ST33).

[1078] Reconsider the size 3113 of spare area #2 according to the actual data size 3109 of contiguous data area #2 (St34).

[1079] Transfer video data 3128 to the ODD 3 side using a fourth AV write command (ST35).

[1080] —At the same time, an untransferred area in the LBN space is secured from the unused area information (the number n of byte reservations and the space hold length).

[1081] —The last recording in AV extent #2 3104 is known in the fourth AV write command (using the end flag of the contiguous data area flag).

[1082] Put together the information in the last AV extent(#2) 3104 on the file system 2 side and store the result temporarily in the buffer memory on the file system 2 side (ST36).

[1083] Additionally write the necessary information in the directory management area of the file system 2 (ST37).

[1084]FIGS. 79 and 80 show a method of creating a replacement-only file 3501 and another embodiment of the invention related to the process of replacing a defective area by this method.

[1085] In the above embodiments, the information recording and reproducing device 3 carries out most of the process of replacing a defective area using the method of creating the replacement-only file 3501. In contrast, the embodiment of FIGS. 79 and 80 is characterized in that the file system 2 carries out most of such a process.

[1086] In FIG. 79, the method of creating the replacement-only file 3501 will be explained.

[1087] After an information storage medium has been installed in the information recording and reproducing device (step ST41) and the information recording and reproducing device 3 has been prepared for processing, the file system 2 issues a command (Get Spare Area Space Command) to the information recording and reproducing device 3 and causes the information recording and reproducing device to determine the empty area size in the spare area from DMA information 663, 691 on the information storage medium (step ST53).

[1088] Receiving the Get Spare Area Space Command, the information recording and reproducing device 3 determines the empty area size in the spare area from DMA information 663, 691 on the information storage medium and reports the result to the file system 2 side (step ST54). Receiving the empty area size, the file system 2 side judges whether there is a sufficient replacement area left in the spare area on the information storage medium (step ST43).

[1089] When there is a sufficient replacement area left (YES in step ST43), the file system 2 issues a command (SET DEFECT MANAGEMENT Command) to the information recording and reproducing device 3 side and instructs the information recording and reproducing device 3 side to manage defects on the information storage medium and record the defect management information in the DMA areas 663, 691 on the information storage medium (step ST52).

[1090] When there is no replacement area left (NO in step ST43), the file system judges whether the replacement-only file 3501 has existed already (step ST55). If the existing replacement-only file 3501 is present (YES in step ST55), the file system judges whether there is a sufficient empty storage capacity in the existing replacement-only file (step ST56).

[1091] The file system 2 senses the empty storage capacity in the replacement-only file 3501 from the replacement information recorded in a secondary defect map SDM 3471 created on information storage medium.

[1092] If there is a sufficient empty storage capacity in the existing replacement-only file 3501 (YES in step ST56), a new replacement-only file 3501 is not created. If the existing replacement-only file 3501 is not present (NO in step ST55), or if the empty storage capacity in the existing replacement-only file 3501 is insufficient (NO in step ST56), it is judged whether as enough an empty storage capacity as enables the replacement-only file 3501 to be registered newly is left on the information storage medium (step ST556).

[1093] If as enough an empty storage capacity as enables the replacement-only file 3501 to be registered newly is left on the information storage medium (YES in step ST556), the file system 2 side creates a replacement-only file 3501 newly and registers the new file (step ST58).

[1094] When the information storage medium is a disk with a large storage capacity of 4.7 gigabytes or more, a single replacement-only file can be made to have a relatively large storage capacity of about 32 megabytes.

[1095] If there is no empty storage capacity on the information storage medium in which a new replacement-only file 3501 can be registered (NO in step ST556), error processing, such as outputting a message to prompt the user to replace the medium, is done (step ST558).

[1096] When the file system side creates the replacement-only file 3501 in the process in step ST58, the file is taken as a hidden file and added to the directory.

[1097] The identification information about the replacement-only file 3501 is recorded in a replacement-only file flag (replacement area setting file flag) 3371 in the file identification descriptor 3364. Specifically, in the case of the replacement-only file 3501, the bit of the replacement area setting flag 3371 is made “1.” As another example of identification information about the replacement-only file 3501, a replacement-only file flag (replacement area setting file flag) 3372 may be provided in the ICB tag 418 in the file entry 3520 provided in the disk.

[1098] Next, the process of replacing a defective area carried out mainly by the file system 2 using the replacement-only file 3501 created through the procedure of FIG. 79 will be explained by reference to FIGS. 80 and 81.

[1099] In FIGS. 80 and 81, after an information storage medium has been installed in the information recording and reproducing device and the information recording and reproducing device 3 side has been prepared to write information, the file system 2 side issues a command (GET SPARE ARE SPACE Command) to the information recording and reproducing device 3 side and causes the information recording and reproducing device to determine the empty area size in the spare area from DMA information 663, 681 on the information storage medium (step ST53).

[1100] Receiving the command, the information recording and reproducing device 3 determines the empty area size in the spare area from DMA information 663, 691 on the information storage medium and reports the result to the file system 2 side (step ST54).

[1101] Receiving the result, the file system 2 side judges whether there is a sufficient replacement area left in the spare area on the information storage medium (step ST43).

[1102] If there is a sufficient replacement area left, the file system 2 side issues a command (SET DEFECT MANAGEMENT Command) to the information recording and reproducing device 3 side and instructs the information recording and reproducing device 3 side to manage defects on the information storage medium and record the defect management information in the DMA areas 663, 691 on the information storage medium (step ST52).

[1103] When there is no sufficient replacement area left in the spare area, the file system 2 decides the use of the replacement-only file 3501 created by the aforementioned processing procedure.

[1104] When information is recorded on the information storage medium, the file system 2 side issues a write command (WRITE Command) to the information recording and reproducing device 3 and instructs the information recording and reproducing device to record PC information (step ST59).

[1105] The information recording and reproducing device 3 records the PC information in the place on the information storage medium specified by the file system 2 using the write command and, when encountering a defective ECC block, temporarily stores information about the begin LBN of the defective ECC block and the information to have been recorded in the defective ECC block into the buffer memory 219 in the information recording and reproducing device 3 (step ST60).

[1106] The present embodiment is characterized in that the information recording and reproducing device 3 temporarily stores information about the begin LBN of the defective ECC block and the information to have been recorded in the defective ECC block into the buffer memory 219 in the information recording and reproducing device 3, without informing the file system of the found defect each time a defective ECC block is encountered.

[1107] After the series of recording process has been completed, the file system 2 issues a command (GE DEFECT LIST Command) to the information recording and reproducing device 3 and asks the information recording and reproducing device for information about the position of the defect (step ST61). The contents of the replay to the command given by the information recording and reproducing device 3 to the file system 2 include (1) the number of defective ECC blocks and (2) information about the begin LBN of each ECC block (step ST62).

[1108] Receiving the reply from the information recording and reproducing device 3, the file system 2 sets a replacement place for the defective ECC block in the replacement-only file 3501 and issues a command (SET SPARE AREA LIST Command) to the information recording and reproducing device 3 to inform the information recording and reproducing device of LBN for the replacement area for each defective area (step ST63).

[1109] The parameter for the command (SET SPARE AREA LIST Command) is each begin LBN of the replacement ECC block in the replacement-only file 3501.

[1110] As a result, on the basis of the replacement ECC block reported from the file system 2, the information recording and reproducing device 3 carries out the replacement process using the linear replacement algorithm (step ST64).

[1111] After the information recording and reproducing device side has completed the replacement process, the file system 2 side adds the aforementioned replacement process information to the secondary defect map (SDM) 3471 in the sparing table 469 (step ST65).

[1112] If in step ST60, the information recording and reproducing device informed the file system 2 of the occurrence of a defect each time it encountered a defective ECC block during recording, it would take time for the information recording and reproducing device 3 to exchange commands with the file system 2 side. Since the time required to exchange commands accounts for a relatively large proportion of the time required for actual recording, it is needed to decrease the processing time by reducing exchanges of commands in recording as much as possible.

[1113] For this reason, in the embodiment of the present invention, the information recording and reproducing device does not inform the file system 2 of the defect each time it has encountered a defective ECC block. Instead, the information recording and reproducing device temporarily stores “the defective ECC block position information” and “the information to have been recorded in the defective ECC block” one after another into the buffer memory 219 in the information recording and reproducing device. After the series of recording processes has been completed, the information recording and reproducing device carries out the replacement process at a time by exchanging only two commands (GET DEFECT LIST Command and SET SPARE AREA LIST Command). This reduces the number of exchanges of commands between the information recording and reproducing device 3 and the file system 2 remarkably, thereby decreasing the overall processing time remarkably.

[1114] In the embodiment of FIGS. 80 and 81, the replacement process (ST52) using the spare area 724 and the replacement process (ST59 to ST65) using the replacement-only file 3501 are carried out independently. Namely, the replacement process (ST52) using the spare area and the replacement process using the replacement-only file 1 are not carried out at the same time.

[1115] When the spare area has been used up, it was impossible to subject PC information to the replacement process in the conventional equivalent. In the above embodiment, however, since there is a replacement-only file even when the spare area has been used up, it is possible to subject PC information to the replacement process.

[1116] Furthermore, even when each replacement-only file (for example, with a storage capacity of about 32 megabytes) has been used up, another replacement-only file can be added newly, as long as there is a sufficient empty storage capacity left on the medium. By adding a replacement-only file, if necessary, the replacement process can be continued even when many defects have occurred on the medium being used, which enables the information to be recorded continuously without interruption.

[1117] As another embodiment of the present invention, a method of recording and managing still another defective management information and unused area information will be explained.

[1118] In the example of FIG. 82, to additionally write VOB #2 3618 of a small data size in contiguous data area #β 3602, an unused area extent 3613 is set for the deficiency in contiguous data area #β 3602. When video information or AV information is recorded additionally in an AV file 2620 next time, recording will be started from the begin position (h+g in LBN and k+g in PSN) of the unused area extent 3613.

[1119] Although not shown, although not shown, VOB #3 existed in the past in such a manner that it extends over part of contiguous data area #α 3601 and part of contiguous data area #β 3602 between VOB #1 3617 and VOB #2 3618. As a result of VOB #3 being partly deleted, the part of VOB #3 extending over contiguous data area #α 3601 and contiguous data area #β 3602 is subjected to the process explained in FIG. 46. An unused area extent 3611 and an unused area extent 3612 are set on the file system 2 side. Because a defect in ECC blocks in the range form “h+a” to “h+b−1” in LBN has been found in recording VOB #1, video information or AV information is not recorded there and that place has been set as a defective area extent 3609.

[1120] As described above, in contiguous data area #α 3601 and contiguous data area #β 3602, recording area extent 3605, defective area extent 3609, recording area extent 3606, unused area extent 2611, unused area extent 3612, recording area extent 3607, and unused area extent 3613 are arranged side by side. All of these are considered to be par to the AV file 3620. As the allocation descriptors in the file entry to the AV file 3620, all the extents are registered.

[1121] In the file entry, AD (a, h: recording), AD (b−a, h+a : defect), AD (c−b, h+b: recording), AD (d−c, h+c: unused), AD (f−e, h+e: unused), AD (g—f, h+f: recording), and AD (j+g, h+g: unused) are registered. The contents of an allocation descriptor include AD (extent size, extent begin position, extent attribute).

[1122] The most noticeable characteristic in FIG. 82 is that only information about the defective area extent 3609 registered in the file entry serves as defect management information without a defect management table organized independently, such as the tertiary defect map (TDM) 3472 in the defect management information area (DMA). The attribute identification information about each extent in the allocation descriptor in the file entry to the AV file 3620 has been recorded in Implementation Use 3528 indicated by f in FIG. 83.

[1123] In FIG. 83, the describing system for long allocation descriptors is employed as a method of describing allocation descriptors. When the value of Implementation Use 3528 is “0h,” this means “the extent for a recording area.” When the value is “Ah,” this means “the extent for a defective area.” When the value is “Fh,” this means “the extent for a defective area.” Although in the official standard of UDF, Implementation Use has to be written in 6 bytes, only the low-order 4 bits are shown to simplify explanation in FIG. 83. In FIG. 82, LBN and PSN are set for both a defective area and an unused area. All LBN and PSN take the values of parallel translation. Specifically, the embodiment of the present invention is characterized by preventing LBN from skipping with respect to PSN as found in the result of the linear replacement algorithm. AV addresses are allocated only to the places where recording extents 3605, 3606, 3607 exist. The AV addresses are such that all the sectors excluding the defective area extent 3609, unused area extents 3611, 3612, 3613 in the AV file 3620 are assigned numbers in the order in which allocation descriptors are written in the file entry. Specifically, in the first sector in recording area extent 3605, LBN is set to “h,” PSN is set to k,” and AV address is set to “0.” In the first sector in recording area extent 3607, LBN is set to “h+f,” PSN is set to “k+f,” and AV address is set to “a+c−b.”

[1124] On a DVD-RAM disk, information is recorded in units of ECC block 502. Therefore, in the embodiment of the present invention of FIG. 82, the file system 2 side performs management in such a manner that recording is done in ECC blocks. Specifically, the file system 2 performs control in such a manner that recording is done in ECC blocks by setting extents. A concrete explanation will be given as follows. All of “a,” “b,” “d,” “e,” and “j” are so set that they are a multiple of 16. In addition, the start positions of contiguous data area #α 3601 and contiguous data area #β 3602 become the begin position of an ECC block, and the end positions of the former become the end position of the ECC block.

[1125] Since a defective area is processed in ECC blocks, the start and end positions of the defect area extent 3609 coincide with the start and end positions in the ECC block. Each of VOB #1 3616, 3617 and VOB #2 3618 size are not necessarily recorded in units of 16 sectors. The overflow from the partial ECC blocks in VOB #1 3616, 3617 and VOB #2 3618 is corrected using the size of the unused area extents 3611, 3612, 3613.

[1126] The method of recording video information or AV information in the embodiment of FIG. 82 is the same as that of FIG. 54 except that the recording of information into the Tertiary Defect List (TDL) 3414 in the DMA area is unnecessary in ST4-01 of FIG. 58 and the defective extent 3609 and unused area extents 3611, 3612, 2613 are added to the extent information in ST4-04.

[1127] The present method is characterized in that, although “AV address→LBN conversion→PSN conversion” is caused in the procedure for playback, the attribute for each extent is sensed from the allocation descriptor in the file entry during “AV address→LBN conversion” and only the recording area extents 3605, 2606, 3607 are to be reproduced (the process of making a selection from the defective extent 3609 and unused area extents 3611, 3612, 2613).

[1128] Even in deleting part of a file, the process of inserting an unused area extent is necessary, taking into account the contiguous data area size and ECC block boundary area place, in the process of rewriting the extent information in the file entry to an AV file (ST09).

[1129] A disk produced as described above is packed as shown in FIG. 84 and shipped. Specifically, the disk body is housed in a cartridge and further wrapped with a wrapping sheet.

[1130] The processes ranging from manufacturing optical to shipping the finished products will be explained briefly. Disks (which enables recording and reproducing by the phase change method and are composed of a single layer, or two layers or more laminated together) are manufactured. In each disk, physical sector numbers (PSN) have been set and embossed zones have been recorded beforehand. Next, the disk is initialized. At this time, the disk is formatted, which records rewritable zones on the disk. At this time, the areas including DMA1, DMA2, DMA3, DMA4 are formed. In addition, the areas PDL, SDL, and TDL (the defect management areas for the skipping process) are formed.

[1131] Next, the disk front surface is subjected to the Certify process. In the Certify process, specific data is recorded on all the surfaces and the front surface is reproduced to find defects. At this time, when the disk is designed to be capable of recording and reproducing PC data too, defective spots are recorded in PDL.

[1132] When the disk is designed to record only AV data, defective places are recorded as defect management information in TDL.

[1133] The above processes enable logical block numbers (LBN) to be set on the disk. This is because the drive unit side can create a PNL→LBN conversion table using DMA (defect management areas: PDL, SDL, TDL).

[1134] Next, conditions are set on the disk so that UDF may be used for a file system. Specifically, the volume recognition procedure (volume recognition sequence) 444, the main volume describing procedure (main volume descriptor sequence) 449, a first anchor point 456, a second anchor point 457, and the reserve volume describing procedure (reserve volume descriptor sequence) 467 are recorded on the disk.

[1135] Next, places in which AV data can be recorded are formed:

[1136] (a) A root directory 1450 is formed in the recording area (LBN space) on the disk.

[1137] (b) A management file (RWVIDEO_CONTROL.IFO) in which AV data can be recorded is created.

[1138] (c) A file in which moving pictures/still pictures, sound, and thumbnails can be recorded is created.

[1139] (d) In each file 1401, management information on the basis of AV addresses is recorded in (RWVIDEO_CONTROL.IFO). At this time, information about the recording position of each file (allocation descriptor in the file entry) is recorded in logical block numbers (LBN).

[1140] Finally, the process of aligning data in recording information in the above system will be explained further.

[1141]FIG. 85 shows an example of the relationship between the AV data recording areas recorded by the recording method of the present invention and ECC blocks #1 to #4. When AV data has been recorded, the boundary between EEC block units does not always coincide with the end position of the AV data. Therefore, in the recording method of the present invention, when there is a gap between the ECC block (in the example shown, #3) and the end of the AV data, a padding extent is created and recorded in that part. Namely, the end of the AV data recording area is always designed to maintain the boundary between ECC blocks.

[1142] In this situation, when AV data or other data is written next time, the data can be written from the beginning of the next ECC block, making it easier to process data.

[1143] An embodiment that does not insert the padding extent is possible.

[1144] Specifically, if the padding extent of FIG. 85 does not exist, when AV data is written next time, processing is done in ECC blocks through the procedure as shown in FIG. 86.

[1145] As shown in FIG. 86, when an instruction to start recording is given, the data near the end of the data area already recorded is first read (steps B1, B2). This causes the recording/reproducing application to recognize that the data has been recorded up to part of ECC block #3. In this case, the ECC block #3 is read and the data to be written next is concatenated to the read data, thereby creating ECC block #3, which is then recorded. Specifically, the read data is decoded once (step B3) and the data to be written next is concatenated to the decoded data to create new ECC block #3 (step B4). Thereafter, data is written in ECC blocks (step B5).

[1146] The characteristics of the present invention are summarized as follows:

[1147] Point 1: LBN are set for both of the defective areas set by the skipping process and the replacement areas for the defective areas. These areas are included in the user area.

[1148] Point 2: The replacement areas (places immediately after the skipping process) can be set arbitrarily on the LBN space. Specifically, the replacement areas can be set arbitrarily in a first area (user area) in which the user can record information.

[1149] Point 3: In the same location on the disk, an AV address (a first address) and LBN (a second address) are set. Specifically, both a first address number and a second address number are allocated to the same location in the recording area on the information storage medium.

[1150] Point 4: The AV addresses not include the defect/replacement area and the LBN space includes the defect/replacement area. Specifically, the first address number and the second address number are assigned to the replacement area and only the first address number is assigned to a defective area (the second address number is not assigned to the defective area).

[1151] Point 5: VOB_I:AV address management information and file entry: LBN management information are recorded in parallel. Specifically, a first information management recording area having the management information managed using the first address number and a second management information recording area having the management information managed using the second address number are provided on the same information storage medium.

[1152] Point 6: The recording/reproducing application performs management using AV addresses and the OS side causes AV address→LBN conversion. Specifically, there are provided a section (recording/reproducing application) that manages information using the second management information and an address conversion section that causes conversion between the second address number and the first address number.

[1153] Point 7: At least one file is recorded. The identification information for an AV file is recorded in at least one of the recorded files.

[1154] Point 8: There is further provided identification means for judging whether the file recorded on the information storage medium is an AV file. The method of recording the relevant file can be changed, depending on whether the recorded file is an AV file.

[1155] In point 1, all the recording areas on the information storage medium are given the first address numbers, logical block numbers (LBN) and both the defective area 3452 and replacement area 3456 are assigned LBN, as γ indicated by in FIG. 35. This makes it possible to leave defect management to the file system 2 side, not to the recording/reproducing application software 1, which enables the recording/reproducing application software 1 to concentrate on video information management without being bothered with defect management. Differently from the linear replacement algorithm indicated by β in FIG. 35, setting the replacement area 3456 in the first area, user area 723 where the user can record information, enables the replacement area 3456 to be placed near the defective area 3452 occurred in the user area 723, making it unnecessary for the optical head to access the defective area 3452 in the replacement process, which assures continuous recording.

[1156] In point 2, by making it possible to set the replacement area 3456 in any position in the first area or user area 723, the replacement area 3456 can be placed just behind the defective area 3452. As a result, the replacement process can be carried out without causing the optical head to access the defective area at all, which assures more stable continuous recording.

[1157] In point 3, by allocating the first address, LBN managed by the file system 2 as shown in FIG. 29, and the second address, AV address managed by the recording/reproducing application software 1, to the same location on the information storage medium, the recording/reproducing application software 1 and file system 2 can perform information management independently, which enables the recording/reproducing application software 1 and file system 2 to concentrate on their roles.

[1158] In point 4, as compared with the linear replacement algorithm indicated by β in FIG. 35, the embodiment of the present invention indicated by γ in FIG. 35 allocates LBN, the first address number, even to the defective area 3452, thereby allowing the file system 2 to manage defects on the information storage medium. As seen from b in FIG. 29 and from FIG. 50A, because an AV address, the second address number, is not allocated to the defective area, the recording/reproducing application software 1 does not perform defect management at all and can concentrate on video information management.

[1159] In point 5, by allocating the management information corresponding to LBN managed by the file system 2 to the file entry of FIG. 29 and recording the video object control information, management information corresponding to AV addresses managed by the recording/reproducing application software 1, separately on the information storage medium, the recording/reproducing application software 1 and file system 2 can carry out information management independently and therefore concentrate on their roles.

[1160] In point 6, the file system 2 side causes conversion between LBN indicated by a and b in FIG. 29 and AV addresses. This makes it unnecessary for the recording/reproducing application software 1 to cause address conversion, which enables the recording/reproducing application software 1 to concentrate video information management.

[1161] In point 7 and point 8, an AV flag that can be identified on the file system is set in an AV file in advance. The file system 2 either identifies the AV flag added to the AV file or judges whether the file to be recorded into is an AV file, on the basis of the specification by the recording/reproducing application 1 (or the file attribute audio video (FILE_ATTRIBUTE_AUDIO_VIDEO) flag for a created file). Then, the file system 2 changes the recording method.

[1162] Carrying out the above process assures the continuity of the AV file in recording reliably.

[1163] Furthermore, characteristics of the method of the present invention will be explained.

[1164] <Not only is a logical address set for a defective area, but also an extent is set avoiding the defective area.>

[1165] This enables the file system 2 side to recognize the defective area and set an extent, avoiding the defective area 3452. By setting the extent allocated avoiding the defective area in an file entry, the file system 2 side can carry out such a process of directly accessing the place to be reproduced, according to the information recorded in the file entry without referring to the defect management information (TDM 3472).

[1166] <Skipping is done on a defective area in recording AV information and an extent is set, avoiding the defective area, after the recording has been completed.>

[1167] When information is recorded, the skipping replacement algorithm is executed in subsequent recording, avoiding the defective area 3452 on the information storage medium. After the recording has been completed, an extent can be set, avoiding the defective area, as shown in steps ST04 and ST4-04 explained in the operation flow.

[1168] The place in which video information is recorded and the place in which the file entry information has been recorded are separate from each other. When the extent layout information is recorded each time a small amount of video information is recorded, the accessing of the optical head is needed each time. In contrast, when the extent layout is temporarily stored in the semiconductor memory 219 and all the file entry information is rewritten after the recording of the whole video information has been completed, this reduces the frequency of accessing of the optical head.

[1169] <A contiguous data area is set in such a manner that it extends over a defective area and another existing file recording area.>

[1170] When extent #1 3571, extent #2 3572, extent #3 3573 are set, avoiding the defective area 3566, the LBN address allocated to the defective area 3566 after the setting is subjected to the linear replacement process, which might permit a PC file to be put in the defective area. There is a strong possibility that PC files will be recorded in the defective area in such a manner that they are interspersed in the defective area. Once the condition for setting contiguous data areas has been so determined that the addresses in the contiguous data area should be always consecutive, if a PC file has been already put in the defective area, it is impossible to secure a contiguous data area, even when an attempt is made to delete extent #1, extent #2, and extent #3 and record AV information again.

[1171] In the present invention, however, even when a PC file subjected to the linear replacement process has been put in the defective area, a contiguous data area can be set again after the extents have been deleted, which enables the area on the information storage medium to be used effectively.

[1172] <As a general rule, although AV information is recorded on the information storage medium in units of contiguous data area #1 3505, #2 3506, or #3 3506, when the data size of pieces of video information 3513, 3514 additionally recorded is smaller than the contiguous data size, unused areas 3515, 3516 are defined (FIG. 43).>

[1173] Then, by setting the subsequent recording information so that it may be recorded from the unused area, short-time pictures are video-recorded one after another as, for example, “one-shot recording” and later the information can be reproduced continuously.

[1174] <The write command and the defect processing method are changed according to the type of information.>

[1175] It is judged whether a file to be processed is a PC file or an AV file. It is then decided whether WRITE command (linear replacement as the defect processing method) or AV WRITE command (skipping replacement as the defect processing method). In the case of a PC file, extents are set, taking no account of contiguous data areas. In the case of an AV file, AV information is recorded in units of a contiguous data area and an unused area is set for the fractions of the recording information in the contiguous data area. This enables AV information to be recorded continuously and the recording area on the storage medium to be used effectively.

[1176] <The size of a contiguous data area is limited to a specific size or less.>

[1177] This enables AV information to be recorded continuously and stably.

[1178] <The unused size is managed on the file system.>

[1179] Let {total extent size (or file size)− information length}=unused area size: then, unused areas 3515, 3516 can be managed by a simple method without changing the UDF standard.

[1180] <An unused area is treated as an unused VOB and managed on the recording/reproducing application side.>

[1181] Management information about unused VOB 3552, 3553 is recorded in the video object control information 11107. This enables the recording/reproducing application 1 side recognizing the contents of the AV information to manage the unused areas, assuring fine unused area management.

[1182] <Recording is done form the start position of the unused area in a file in re-recording (additional recording).>

[1183] By defining unused areas 3515, 3516 and doing setting so that the information to be recorded next may be recorded from the start position of the unused area, short-time moving pictures are recorded in sequence as one-shot video-recording and later the information can be reproduced continuously.

[1184] <When part of the information is deleted, the information is deleted in units of a contiguous data area (CDA). There are two methods of leaving an unused area.>

[1185] One is setting an unused VOB in FIG. 46, and the other is setting an unused extent in FIG. 47. When part of an AV file is deleted, the remaining part is left as unused area, which enables another AV information to be recorded. At this time, because the information has been deleted in units of CDA, a new CDA is easy to set in that place and can be set.

[1186] <The recording places after presetting/continuous recording/recording are registered.>

[1187] The process in step ST02 is the process of searching for the place in which information is to be recorded on the information storage medium. The process in step ST03 is the process of recording information actually.

[1188] For example, when a television program is recorded, the recording time might not be estimate. To overcome this problem, in the system, the recording/reproducing application 1 side sets the estimated maximum amount of recording for continuous recording and informs the file system 2 side of the amount using a Set Unrecorded Area command. Then, according to the size received, the file system 2 side sets the scheduled recording place on the information storage medium in advance and, if recording is interrupted halfway, opens the scheduled recording place. This enables not only AV information to be recorded stably and continuously but also the data are to be used effectively.

[1189] <Extent information about the scheduled recording place can be recorded in the allocation descriptor in the file entry to an AV file.>

[1190] With the information recording and reproducing device connected to IEEED 1394 or the like, while the first device is recording video information on the information storage medium, PC information might have to be recorded on the information storage medium according to an instruction given by another device. In this case, as in step ST-06, the file system 2 pre-records the extent information about the scheduled recording place for AV information into the allocation descriptor in the file entry to the relevant AV file, which prevents another PC information from being recorded in the scheduled recording place for video information.

[1191] <File partial delete command for API command>

[1192] A first recording process layer composed of a recording and reproducing device that records information on an information storage medium means the recording/reproducing application 1. A second recording process layer controlling the first recording process layer composed of a file system part controlling the place where information is to be recorded means the file system 2. A third recording process layer existing as an application layer that gives a command to the second recording process layer to control the latter means the information recording and reproducing device 3.

[1193] The command to delete only part of a file the third recording process layer gives to the second recording process layer is “Delete Part Of File Command.”

[1194] AV information and audio information have a large file size. Thus, use of a method of dealing with the whole file to delete part of the file and re-recording the whole file only part of which has been deleted on the information storage medium requires a tremendous length of recording time. In contrast, use of a partial delete command enables the desired part to be deleted in a short time.

[1195] <Command (SEND PRESET EXTENT ALLOCATION MAP COMMAND)>

[1196] Before the first recording process layer records information, the second recording process layer not only sets in advance the place where information is to be recorded, but also gives the first recording process layer the command “SEND PRESET EXTENT ALLOCATION MAP COMMAND” to inform the first recording process layer of the set information.

[1197] When a defective area is encountered in the course of recording information, the skipping replacement algorithm is executed. Although overflow information is created here, if the information recording and reproducing side has been informed of the extent allocation table as the scheduled recording places beforehand, the overflow information can be recorded continuously in the next scheduled recording place, which prevents continuous recording from being interrupted.

[1198] <Command (GET WRITE STATUS COMMAND)>

[1199] A command to instruct the first recording process layer to report its recording state to the second recording process layer is the command (GET WRITE STATUS COMMAND). When many defective areas take place on the information storage medium, the information temporarily stored in the buffer memory 219 in the information recording and reproducing device gets saturated, which prevents video information from being recorded continuously. Then, the command (GET WRITE STATUS COMMAND) is issued to monitor the status of the buffer memory 219. The file system 2 side then performs control so that the memory 219 may not get saturated. <Defect management information about PC information and that about AV information are separated.>

[1200] This facilitates defect management. Recording the respective types of information separately facilities the management and setting of contiguous data areas. The most suitable defect management can be performed on each of PC information and AV information.

[1201] <Defect management information>

[1202] The replacement methods include a first replacement (slipping) method, a second replacement (linear replacement) method, and a third replacement (skipping) method. Defect management information related to the first replacement method is represented by PDL 3412, defect management information related to the second replacement method is represented by SDL 3413 or SDL 3471, and defect management information related to the third replacement method is represented by TDL 3414 or SDL 3472.

[1203] That the defect management information related to the third replacement method is written as physical address information means that it is recorded as defect management information TDL 3414 and that the information recording and reproducing device performs defect management. This enables the file system to concentrate on the management of the recording places on the LBN space without being bothered with troublesome defect management.

[1204] That the defect management information related to the third replacement method is written as physical address information means that it is recorded as defect management information TDL 3472 and that the file system 2 side performs defect management. The defect management by the file system 2 side enables fine defect management, which facilitates the management and setting of contiguous data areas 3593.

[1205] As described above, according to the present invention, there are provided not only a recording method which enables stable continuous recording without being affected by the existence of many defective areas on an information storage medium but also an information recording and reproducing device which uses the recording method. There is further provided an information storage medium (as well as the data structure of the information recorded on the medium) on which information has been recorded in the most suitable form for the stable continuous recording.

[1206] Furthermore, there is provided an environment setting method (specifically, a video information recording/reproducing/editing system) which assures stable video information management without imposing a burden on the recording/reproducing application software layer (or without causing the recording/reproducing application software layer to perform defect management), even when many defective areas are present on the information storage medium.

[1207] While in the above explanation, the optical head has recorded and reproduced the information onto and from the optical disk, the present invention is not limited to this. For instance, the present invention may be applied to a case where a magnetic head accesses the information on a magnetic disk or a hard disk.

[1208] The present invention is applicable to an information storage medium, such as an optical disk, its data structure, an information recording method, an information recording device, and a playback device. TABLE 1 LIST OF FUNCTIONS (EFFECTS OF EMBODIMENTS OF THE PRESENT INVENTION) NECESSARY IN RECORDING AND REPRODUCING VIDEO INFORMATION (LIST OF EFFECTS PRODUCED BY VIDEO INFORMATION RECORDING AND REPRODUCING DEVICE OF THE PRESENT INVENTION) REQUEST SIDE EFFECT OF EFFECT AND AND FUNCTION FUNCTION DESCRIPTION OF REQUESTED FUNCTIONS (EFFECTS) AND SUPPLEMENTARY EXPLANATION ESSENTIAL APPLICATION BOTH AV FILES AND PC FILES ARE ALLOWED TO EXIST ON INFORMATION STORAGE MEDIUM. FUNCTIONS SIDE'S . . . AV FILES AND PC FILES ARE DISTINGUISHED AND HANDLED ON FILE SYSTEM. (EFFECTS) REQUEST TO AV FILE SIZE IS ALLOWED TO EXPAND. VIDEO . . . AV FILE EXTENTS ARE ADDITIONALLY SECURED IN EMPTY AREA ON INFORMATION STORAGE INFORMATION MEDIUM. AV FILE SIZE IS ALLOWED TO BE DECREASED. . . . PART OF AV FILE IS ALLOWED TO BE DELETED. CONTINUITY OF RECORDING IS SECURED (REAL-TIME RECORDING) . . . RECORDING IN CONTIGUOUS DATA AREA UNITS, SLIPPING PROCESS IN DEFECTIVE SPOT CONTINUOUS PLAYBACK IS SECURED (E.G., CONTINUOUS PLAYBACK OF ADDITIONAL PICTURES AFTER SEQUENTIAL ADDITION OF SHORT-TIME RECORDING PICTURES) . . . SHORT-TIME ONE-SHOT RECORDING IS ALSO DONE IN CONTIGUOUS DATA AREAS AND NEXT SHORT-TIME RECORDING PICTURES ARE ADDITIONALLY RECORDED IN UNUSED AREA IN CONTIGUOUS DATA AREA. CONTINUOUS PLAYBACK ACCORDING TO ORIGINAL PGC (DIRECTLY AFTER RECORDING) IS GUARANTEED. PROCESS OF DELETING PART OF SPECIFIC RANGE (IN CONTIGUOUS DATA AREAS) IN AV FILE RELIABILITY OF VIDEO DATA IN VIDEO-RECORDING (RECORDING)/PLAYBACK IS SECURED. . . . DEFECTIVE PLACE ON INFORMATION STORAGE MEDIUM IS REPLACED IN VIDEO-RECORDING (RECORDING). REQUESTED APPLICATION ARRANGEMENT OF VOB IS ALLOWED TO BE CHANGED ON ORIGINAL PGC FUNCTIONS SIDE'S VIDEO DATA UP TO THE MIDDLE IS ALIVE EVEN IF POWER SUPPLY IS TURNED OFF IN THE (EFFECTS) REQUEST TO COURSE OF VIDEO RECORDING VIDEO WHEN VIDEO DATA IS RECORDED OR REPRODUCED, ONLY REAL DATA IS INPUTTED OR INFORMATION OUTPUTTED. . . . WHEN VIDEO DATA IS RECORDED OR REPRODUCED, “RECORDING/REPRODUCING APPLICATION” SIDE IS UNWILLING TO PERFORM THE ADDING/DELETING OF ADDITIONAL INFORMATION OR THE SECURING OF RESERVE SPARE AREA AS A RESULT OF REPLACEMENT. . . . IT IS HOPED THAT MANAGEMENT OF ADDITIONAL INFORMATION EXCEPT FOR REAL DATA IS ELIMINATED AND ADDRESS MANAGEMENT OF REAL DATA IN AV FILE IS SIMPLIFIED (CORRESPONDENCE TO LBN IS SIMPLIFIED). “RECORDING/REPRODUCING APPLICATION” SIDE DOES NOT MANAGE DEFECTS ON INFORMATION STORAGE MEDIUM “RECORDING/REPRODUCING APPLICATION” SIDE DOES NOT MANAGE CONTIGUOUS DATA AREAS “RECORDING/REPRODUCING APPLICATION” SIDE HAS AS LITTLE ADDRESS MANAGEMENT INFORMATION AS POSSIBLE

[1209] TABLE 2 REQUEST SIDE EFFECT OF EFFECT AND AND FUNCTION FUNCTION DESCRIPTION OF REQUESTED FUNCTIONS (EFFECTS) AND SUPPLEMENTARY EXPLANATION REQUESTED FILE SYSTEM ANOTHER PIECE OF VIDEO INFORMATION CAN BE RECORDED/USED AGAIN IN PARTLY DELETED FUNCTIONS (OS) SIDE'S PLACE IN AV FILE. (EFFECTS) REQUEST . . . ON USER I/F, THIS MEANS THAT ANOTHER PICTURE IS ALLOWED TO BE WRITTEN OVER THE RECORDED PLACE IN AV FILE WHEN THE REMAINDER IS SMALL. . . . IT IS NECESSARY TO SECURE CONTIGUOUS DATA AREA SIZE IN RE-RECORDING ANOTHER PICTURE. RECORDABLE AREA (REMAINDER) AFTER THE REPETITION OF RECORDING/PARTIAL DELETING IS SECURED. . . . GARBAGE COLLECTION/DEFRAGMENTATION IS TO BE EXECUTED. API COMMAND BETWEEN APPLICATION SOFTWARE IS UNWILLING TO BE CHANGED. . . . IT IS HOPED THAT MEASURES ARE TAKEN BY CHANGING ONLY LOW LEVELS OF HIERARCHY OF OS/FS WITHOUT CHANGING HIGH LEVELS OF HIERARCHY. PROCESS ADAPTED AS MUCH TO EXISTING COMMAND IDEAS AS POSSIBLE IS CARRIED OUT. . . . SOFTWARE DEVELOPMENT IS FACILITATED WITHOUT GIVING SOFTWARE DEVELOPER A SENSE OF INCONGRUITY. TRANSPLANTATION AND INTERCHANGEABLITY OF RECORDING/REPRODUCING DVD DATA TO ANOTHER MEDIUM (E.G., HDD) ARE IMPROVED COMPATIBILITY WITH DVD-ROM VIDEO IS IMPROVED EXISTING 2.6-GB DVD-RAM STANDARD PART 2 IS NOT CHANGED REQUESTED FILE SYSTEM NO ITEM IS ADDED TO EXISTING MANAGEMENT INFORMATION MANAGED BY UDF SIDE. FUNCTIONS (OS) SIDE'S . . . REPLACEMENT TABLE FOR DEFECTIVE SPOTS, RESERVE SPARE AREA ADDRESS TABLE, AND (EFFECTS) REQUEST OTHERS CHANGES IN UDF CONTROL SOFTWARE COMPATIBLE WITH EXISTING DVD-RAM ARE FEW. . . . DEFECT MANAGEMENT OF INFORMATION STORAGE MEDIUM IS NOT PERFORMED ON UDF CONTROL SOFTWARE. ODD SIDE'S CONTINUOUS RECORDING IS NOT INTERRUPTED AS A RESULT OF COMMAND PROCESSING AT THE REQUEST OCCURRENCE OF DEFECT NEITHER INTERRUPTION OF CONTINUOUS RECORDING NOR LOSS OF VIDEO DATA TAKES PLACE WHEN MANY CONSECUTIVE DEFECTS HAVE OCCURRED INFORMATION ABOUT DEFECT DISTRIBUTION OVER INFORMATION STORAGE MEDIUM IS PREVENTED FROM GOING OUT OF ODD CORRELATION BETWEEN PSN AND LBN IS CLEAR EVEN AFTER REWRITING IS DONE REPEATEDLY AS LARGE A RECORDABLE AREA (RECORDING CAPACITY) ON INFORMATION STORAGE MEDIUM IS SECURED AS POSSIBLE [LARGER STORAGE CAPACITY]. . . . INITIAL SPARE AREA SIZE IS MADE SMALLER. . . . WASTE OF RECORDING AREA (UNUSED AREA BECAUSE OF SPARE AREA) IS ELIMINATED. THE AMOUNT OF INFORMATION IN DMA (DEFECT MANAGEMENT INFORMATION) IS DECREASED DEFECT MANAGEMENT (E.G., REPLACEMENT) CONTROL OF ODD IS SIMPLIFIED

[1210] TABLE 3 THE RELATIONSHIP BETWEEN THE PROGRAM SOFTWARE HIERARCHICAL STRUCTURE AND THE ADDRESS SPACE USED AT EACH LEVEL OF HIERARCHY ON PC WHEN VIDEO INFORMATION IS RECORDED AND REPRODUCED ON PC USING RECORDING/REPRODUCING APPLICATION SOFTWARE ADDRESS NUMBER CONTROL LAYER INTERFACE NAME DESCRIPTION OF ADDRESS SPACE VIDEO PLAYBACK RELATIVE ADDRESS CONTINUOUS ADDRESS NUMBERS APPLICATION SOFTWARE IN AV FILE IN AV FILE, WITH BEGIN POSITION (RECORDING/REPRODUCING SDK API (AV ADDRESS) OF AV FILE BEING ADDRESS “0” APPLICATION) 1 COMMAND 4 FS: FILE SYSTEM LSN BOTH ARE ASSIGNED LOGICAL (E.G., UDF) 2 DDK CONSECUTIVE NUMBERS IN UNITS INTERFACE LBN OF 2 KB ODD: OPTICAL DISK COMMAND 5 EACH SECTOR ON INFORMATION DRIVER 3 (INFORMATION PSN: Physical STORAGE MEDIUM (OPTICAL DISK) RECORDING AND Sector Number HAS BEEN ASSIGNED PHYSICAL REPRODUCING DEVICE) NUMBER BEFOREHAND

[1211] TABLE 4 DEFECT MANAGEMENT ON INFORMATION STORAGE MEDIUM AND UNUSED AREAS IN AV FILE TABLE SHOWING COMPARISON BETWEEN EMBODIMENTS OF THE PRESENT INVENTION ABOUT MANAGEMENT RESERVE SPARE AREA IS NOT RESERVE SPARE AREA IS MANAGEMENT PLACE AND SECURED BEFOREHAND IN SECURED IN CREATING MANAGEMENT METHOD OF CREATING CONTIGUOUS DATA CONTIGUOUS DATA AREA UNUSED AREAS IN AV AREA. (PS: PRE-SPARE) FILE LBN ARE NOT SET FOR XX XX-PS RECORDING/REPRODUCING DEFECTIVE PLACES AND PSN FOR LBN IS SHIFTED PSN SHIFT OF DEFECT + APPLICATION 1 SIDE SPARE AREAS. INFORMATION EACH TIME DEFECT OCCURS. RESERVE SPARE IS MANAGES UNUSED AREA ABOUT DEFECTS IS IN DMA. REAL DATA SIZE =EXTENT EFFECTED ON LBN IN INFORMATION IN AV SIZE UNITS OF CDA. FILE AS “UNUSED VOB.” LBN ARE DEFECT LBN/ODD LBN/ODD-PS THE UNUSED VOB SET FOR INFORMATION IS DEFECTIVE PLACE IS DEFECTIVE PLACES AND INFORMATION IS DEFECTIVE RECORDED IN INCLUDED IN EXTENT. RESERVE SPARE AREAS RECORDED IN VIDEO PLACES. DMA AND IN PLAYBACK, ARE INCLUDED IN EXTENT. OBJECT CONTROL MANAGEMENT RECORDING/REPRODUCING ODD3 MANAGES THE INFORMATION 1107 IN FILE SYSTEM 2 APPLICATION REQUESTS POSITION AND SIZE OF CONTROL INFORMATION SIDE HAS REPLY ONLY ABOUT REAL RESERVE SPARE AREAS. 1011. NOTHING TO DO DATA FROM ODD3. FILE SYSTEM SIDE WITH DEFECTIVE (UDF SIDE ACTS AS HAS NOTHING TO DO WITH INFORMATION IN INTERMEDIARY) THE MANAGEMENT. THE CONNECTION RECORDING/REPRODUCING REMAINING PROCESSES WITH ODD3. APPLICATION 1 SIDE ARE THE SAME AS THOSE MANAGES CDA BOUNDARY OF LBN/ODD. POSITION. LBN ARE FS2 SIDE ALSO LBN/UDF LBN/UDF-PS THE SIZE OF SET FOR DEALS WITH DEFECTIVE PLACES ARE DEFECTIVE PLACES AND RECORDED AREA FROM DEFECTIVE PROCESSES INCLUDED IN EXTENT. RESERVE SPARE AREAS BEGIN POSITION OF PLACES. RELATED TO CDA SIZE IS MADE VARIABLE. ARE INCLUDED IN EXTENT. AV FILE IS DEFECT THERE IS NO CDA BOUNDARY FS2 SIDE MANAGES THE RECORDED IN INFORMATION. POSITION MANAGEMENT. POSITION AND SIZE OF INFORMATION LENGTH DEFECT ONLY REAL DATA IS TRANS- RESERVE SPARE AREAS. IN FILE ENTRY MANAGEMENT FERRED TO RECORDING/ THE REMAINING INFORMATION. FILE INFORMATION REPRODUCING APPLICATION PROCESSES ARE THE SYSTEM 2 SIDE IS RECORDED 1 SIDE IN PLAYBACK. SAME AS THOSE OF LBN/UDF. (UDF) MANAGES IN DEFECT LBN/UDF-CDAFix UNUSED AREAS IN AV MANAGEMENT CDA SIZE AND BOUNDARY FILE. ADDITIONAL INFORMATION POSITION ARE FIXED RECORDING RECORDING IN ADVANCE. THE REMAINING INFORMATION IS POSITION ON PROCESSES ARE THE SAME RECORDED FROM THE FS2 SIDE. AS THOSE OF LBN/UDF. EXTENT IS LBN/XXX LBN/XXX-PS BEGIN POSITION OF SET, AVOIDING INFORMATION ABOUT DEFECTIVE AREAS ARE UNUSED AREA IN AV DEFECTIVE DEFECTIVE PLACES ARE REMOVED FROM EXTENT. FILE. AREA → KNOWN ODD3 IN RECORDING FS MANAGES RESERVE DEFECT AND REMOVED FROM EXTENT. SPARE AREAS IN EXTENT. INFORMATION THE REMAINING PROCESSES IN DMA. ARE THE SAME AS THOSE OF LBN/UDF.

[1212] TABLE 5 TABLE LISTING THE EFFECTS OF EMBODIMENTS OF THE PRESENT INVENTION DEGREE OF PLACE IMPORTANCE REQUESTING OF FUNC- FUNCTIONS DESCRIPTION OF VARIOUS REQUESTED LBN/ LBN/ LBN/ TIONS AND REQUESTED FUNCTIONS XX- LBN/ ODD- LBN/ UDF- LBN/ XXX- (EFFECTS) EFFECTS FUNCTIONS (EFFECTS) AND EFFECTS XX PS ODD PS UDP PS XXX PS ESSENTIAL RECORDING/ AV FILE AND PC FILE ARE ⋆ ⋆ ⋆ ⋆ ⋆ ⋆ ⋆ ⋆ ⋆ EFFECTS REPRODUC- ALLOWED TO BE PRESENT AT ING APPLI- THE SAME PLACE CATION AV FILE SIZE CAN BE ⋆ ⋆ ⋆ ⋆ ⋆ ⋆ ⋆ ⋆ ⋆ SIDE'S INCREASED REQUEST AV FILE SIZE CAN BE ⋆ ⋆ ⋆ ⋆ ⋆ ⋆ ⋆ ⋆ ⋆ DECREASED CONTINUITY IN RECORDING ⋆ ⋆ ⋆ ⋆ ⋆ ⋆ ⋆ ⋆ ⋆ IS SECURED CONTINUOUS PLAYBACK ⋆ ⋆ ⋆ ⋆ ⋆ ⋆ ⋆ ⋆ ⋆ (AFTER ADDITION OF SHORT-TIME RECORDED PICTURES) PROCESS OF DELETING ⋆ ⋆ ⋆ ⋆ ⋆ ⋆ ⋆ ⋆ ⋆ PART OF AV FILE RELIABILITY OF DATA IN ⋆ ⋆ ⋆ ⋆ ⋆ ⋆ ⋆ ⋆ ⋆ RECORDING/REPRODUCING RE- CHANGE OF VOB ARRANGE- ⊚ ◯ ◯ ◯ ◯ ◯ ◯ ◯ ◯ QUESTED MENT IN ORIGINAL PGC FUNC- VIDEO-RECORDING DATA IS ◯ Δ Δ Δ Δ Δ Δ Δ Δ TIONS ALIVE WHEN POWER (EFFECTS) SUPPLY IS TURNED OFF I/O PROCESS OF ONLY ◯ ◯ ◯ ◯ ◯ ◯ ◯ ◯ ◯ REAL DATA RECORDING/REPRODUCING Δ Δ Δ Δ Δ Δ Δ Δ Δ APPLICATION DOES NOT MANAGE DEFECTS RECORDING/REPRODUCING Δ ∇ ∇ ∇ ∇ Δ Δ ∇ ∇ APPLICATION SIDE DOES NOT PERFORM CDA MANAGEMENT AS LITTLE ADDRESS Δ ∇ ∇ ∇ ∇ Δ Δ ∇ ∇ MANAGEMENT INFORMA- TION AS POSSIBLE RE- FS SIDE'S PARTLY DELETED PART CAN ⊚ Δ Δ Δ Δ Δ Δ ∇ ∇ QUESTED REQUEST BE RE-RECORDED OR REUSED FUNC- REMAINDER IS SECURED ⊚ Δ Δ Δ Δ Δ Δ ∇ ∇ TIONS AFTER REPETITION OF (EFFECTS) RECORDING OR DELETING API COMMAND IS UNWILLING ◯ Δ ∇ Δ ∇ Δ Δ Δ Δ TO BE CHANGED PROCESS ADAPTED TO ◯ Δ Δ ∇ ∇ Δ ∇ Δ ∇ EXISTING COMMAND IDEAS TRANSPLANTATION (INTER- Δ Δ ∇ Δ ∇ ∇ ∇ Δ Δ CHANGEABLITY) OF DATA TO ANOTHER MEDIUM COMPATIBILITY WITH Δ Δ Δ Δ Δ Δ ∇ Δ ∇ DVD-ROM VIDEO DVD-RAM STANDARD PART 2 Δ Δ Δ Δ Δ ∇ ∇ Δ Δ IS NOT CHANGED NO ITEM IS ADDED TO Δ Δ Δ Δ Δ ∇ ∇ Δ Δ MANAGEMENT INFORMATION ON UDF MINOR CHANGE IN DVD-RAM Δ Δ Δ Δ Δ ∇ ∇ ∇ ∇ UDF SOFTWARE ODD SIDE'S CONTINUOUS RECORDING ⊚ X ⊚ X ⊚ X ⊚ X ⊚ REQUEST IS NOT INTERRUPTED BY COMMAND PROCESS MEASURES CAN BE TAKEN ⊚ X ▾ X ▾ X ▾ X ▾ WHEN MANY CONSECUTIVE DEFECTS HAVE OCCURRED INFORMATION ABOUT ⊚ ◯ ◯ ◯ ◯ ▾ ▾ ▾ ▾ DEFECT DISTRIBUTION OVER INFORMATION IS PREVENTED FROM GOING OUT OF ODD CORRELATION BETWEEN PSN ⊚ X X ◯ ◯ ◯ ◯ ◯ ◯ AND LBN IS CLEAR WASTE OF RECORDING ◯ ◯ ▾ ◯ ▾ ◯ ▾ ◯ ▾ AREA IS ELIMINATED THE AMOUNT OF Δ ∇ ∇ ∇ ∇ Δ Δ ∇ ∇ INFORMATION IN DMA IS DECREASED DEFECT MANAGEMENT Δ ▾ ▾ ∇ ∇ Δ Δ ∇ ∇ CONTROL OF ODD IS SIMPLIFIED

[1213] TABLE 6 DATA STRUCTURE OF ALLOCATION MAP TABLE WHEN RECORDING/REPRODUCING APPLICATION MANAGES THE BOUNDARY POSITION OF CONTIGUOUS DATA AREA IN THE EMBODIMENTS LBN/ODD, LBN/ODD-PS, XX, AND XX-PS [CONTIGUOUS DATA AREA BOUNDARY INFORMATION IN AV ADDRESS] INFORMATION ABOUT EXAMPLE OF VALUE IN USING THE EMBODIMENT ALLOCATION MAP TABLE OF FIG. 36 NUMBER OF CONTIGUOUS DATA 3 AREAS IN AV FILE (NOTE: EXTENT #δ, EXTENT #γ, EXTENT #α THE LAST AV ADDRESS IN THE f − e − 1 FIRST CONTIGUOUS DATA AREA THE LAST AV ADDRESS IN THE f − e + d − c − 1 SECOND CONTIGUOUS DATA AREA THE LAST AV ADDRESS IN THE f − e + d − c + b − a − 1 THIRD CONTIGUOUS DATA AREA

[1214] TABLE 7 TABLE HELP TO EXPLAIN OTHER EMBODIMENTS RELATED TO A METHOD OF RECORDING DEFECT MANAGEMENT INFORMATION MANAGED BY FILE SYSTEM 2 SIDE METHOD NO. DESCRIPTION RELATION WITH EXTENT ADVANTAGE AND EFFECT {circle over (1)} HIDDEN FILE IS CREATED CHANGE OF UDF DRIVE WILL DO AND DEFECT MAP NUMBER OF CHANGED PLACES IS INFORMATION IS SMALL WRITTEN IN IT {circle over (2)} LONG ALLOCATION DEFECTIVE AREA IS MINOR CHANGE OF UDF DESCRIPTOR IS USED IN MADE ANOTHER EXTENT STANDARD WILL DO AV FILE AND DEFECT NUMBER OF CHANGED PLACES IS FLAG IS SET IN SMALL IMPLEMENTATION

[1215] TABLE 8 TABLE LISTING METHODS OF SETTING UNUSED AREAS IN EXTENTS EXCEPT FOR THOSE IN FIGS. 43 AND 47 METHOD NO. DESCRIPTION ADVANTAGE AND EFFECT {circle over (3)} LBN FOR UNUSED AREA START IS WRITTEN IN MINOR CHANGE OF UDF STANDARD WILL DO PADDING AREA IN FILE IDENTIFICATION DESCRIPTOR 4 RESERVED SIZE OF FILE ENTRY/ICB TAG IS MINOR CHANGE OF UDF STANDARD WILL DO INCREASED TO 4 BYTES AND UNUSED AREA START LBN IS WRITTEN 5 HIDDEN FILE IS CREATED AND UNUSED AREA ONLY CHANGE OF UDE DRIVE WILL DO START LBN IS WRITTEN IN THE FILE 6 LONG ALLOCATION DESCRIPTOR IS USED ONLY MINOR CHANGE OF UDF STANDARD WILL DO IN AV FILE AND UNUSED AREA START LBN IS WRITTEN IN IMPLEMENTATION USE OF THE RELEVANT EXTENT

[1216] TABLE 9 TABLE LISTING VARIOUS API COMMANDS USED IN RECORDING VIDEO INFORMATION IN LBN/UDF AND LBN/XX COMMAND NAME COMMAND OVERVIEW COMMAND PARAMETER COMMAND TYPE 3401 3402 3403 RETURN VALUE 3404 3405 Create File FILE OPEN PROCESS AV FILE ATTRIBUTE EXISTING RETURN NEW MATTER FILE RECORDING FLAG IS ADDED TO VALUE IS USED AS IS ADDED TO START DECLARATION EXISTING PARAMETER IT IS EXISTING FILE PLAYBACK START COMMAND DECLARATION Set Unrecorded SPECIFY UNUSED AREA SETTING START LBN INFORMATION NEW COMMAND Area SIZE IN AV FILE VALUE RECEPTION COMPLETE UNUSED AREA SIZE OR RECEPTION FAILURE Write File FILE RECORDING EXISTING PARAMETER EXISTING RETURN EXISTING PROCESS VALUE COMMAND Read File FILE REPRODUCING EXISTING PARAMETER EXISTING RETURN EXISTING PROCESS VALUE COMMAND Delete Part Of DELETE PART OF FILE DELETE START POINTER PROCESS SUCCESSFUL NEW COMMAND File DELETED DATA SIZE OR UNSUCCESSFUL Close Handle END RECORDING/ EXISTING PARAMETER EXISTING RETURN EXISTING REPRODUCING PROCESS VALUE COMMAND Get AV Free CHECK UNRECORDED CDA SETTING TOTAL UNRECORDED NEW COMMAND Space Size AREA SIZE CONDITION SIZE Change Order REARRANGE THE ORDER START POINTER BEFORE PROCESS SUCCESSFUL NEW COMMAND IN FILE CHANGE OR UNSUCCESSFUL CHANGED PLACE SIZE START POINTER AFTER CHANGE AV Defrag- EXPAND CDA AREA CDA SETTING PROCESS SUCCESSFUL NEW COMMAND mentation THAT CAN BE SET CONDITION OR UNSUCCESSFUL

[1217] TABLE 10 TABLE LISTING COMMANDS USED WITH INFORMATION RECORDING AND REPRODUCING DEVICE CORRESPONDING TO LBN/UDF, LBN/XXX COMMAND NAME COMMAND OVERVIEW COMMAND PARAMETER RETURN VALUE (STATUS) 3341 3342 2243 3344 AV WRITE VIDEO INFORMATION RECORDING START POSITION (LBN INFORMATION AS TO WHETHER RECORDING PROCESS SPECIFICATION OR PRESENT POSITION) COMMAND HAS BEEN COMMAND RELATED TO AV DATA SIZE (NO. OF SECTORS) RECEIVED FILES END POSITION OF RELEVANT EXTENT START POSITION OF NEXT EXTENT END POSITION OF NEXT EXTENT SLOT_ID (SLOT ID) AV WRITE NUMBER GET WRITE REQUEST THE AMOUNT OF START LBN VALUE OF SPECIFIED AMOUNT OF ROOM IN BUFFER STATUS ROOM IN BUFFER MEMORY RANGE MEMORY 219 (NO. OF BYTES) 219 IN INFORMATION NUMBER OF DEFECTIVE ECC RECORDING AND BLOCKS REPRODUCING DEVICE AT SIZE OF SPECIFIED RANGE FIRST ECC BLOCK LBN PRESENT AND LBN VALUE (NO. OF SECTORS) SECOND ECC BLOCK AT EACH DEFECTIVE ECC BLOCK BEGIN POSITION IN SPECIFIED RANGE BY LBN DISCARD DISCARD PRECEDING COMMAND NUMBER OF PRECEDING COMMANDS INFORMATION AS TO PRECEDING RECORDED ON INFORMATION FIRST DELETED COMMAND NO. WHETHER COMMAND HAS COMMAND RECORDING AND REPRODUCING BEEN RECEIVED DEVICE SIDE ADJUST THE AMOUNT OF SECOND DELETED COMMAND NO. TRANSFERRED DATA ACCORDING TO THE NUMBER OF DEFECTS ON INFORMATION STORAGE READ PLAYBACK PROCESS COMMAND PLAYBACK START POSITION (LBN) DATA SIZE (NO. OF FOR AV FILES AND PC FILES DATA SIZE (NO. OF SECTORS) SECTORS) REPRODUCED DATA GET REQUEST ZONE BOUNDARY START LBN VALUE OF SPECIFIED ZONE BOUNDARY POSITION PERFORMANCE POSITION INFORMATION ON RANGE IN SPECIFIED RANGE AND INFORMATION STORAGE MEDIUM SIZE OF SPECIFIED RANGE DMA INFORMATION (VALUE AND DMA INFORMATION (LBN (NO. OF SECTORS) AFTER LBN CONVERSION) CONVERSION) SEND PRESENT REPORT LOCATION NUMBER OF SET EXTENTS INFORMATION AS TO EXTENT INFORMATION ABOUT VIDEO FIRST EXTENT BEGIN POSITION WHETHER COMMAND HAS ALLOCATION INFORMATION RECORDING FIRST EXTENT SIZE BEEN RECEIVED MAP EXTENT SET BEFOREHAND ON SECOND EXTENT BEGIN POSITION THE BASIS OF ZONE BOUNDARY SECOND EXTENT SIZE POSITION INFORMATION AND DMA INFORMATION RECEIVED FROM INFORMATION RECORDING AND REPRODUCING DEVICE BEFORE RECORDING OF VIDEO INFORMATION GET FREE A SERIES OF AV WRITE START AV WRITE START FLAG SLOT_ID TO ISSUE ODD3 SLOT_ID DECLARATION (INSTRUCT ODD3 AV WRITE END FLAG INFORMATION AS TO TO ISSUE SLOT_ID) AND END WHETHER COMMAND HAS DECLARATION (CANCEL BEEN RECEIVED SLOT_ID)

[1218] TABLE 11 TABLE LISTING PARAMETERS AND RETURN VALUES FOR WRITE AV FILE COMMAND ON API IN LBN/ODD-PS WRITE AV FILE COMMAND (API) PARAMETER DESCRIPTION OF TYPE NAME 71 PARAMETERS 72 COMMAND h File NAME OF FILE TO BE PARAMETER RECORDED (SPECIFY FILE 76 HANDLE) Ip Buffer SPECIFY POINTER TO BUFFER WHICH STORES DATA TO BE WRITTEN INTO FILE n Contiguous SPECIFY CONTIGUOUS DATA Data Area AREA NUMBER IN FILE . . . PARALLEL RECORDING INTO MULTIPLE C.D.A. CAN BE DONE IN TIME-DIVISION. a) WHEN THE NUMBER IS ALREADY PRESENT IN FILE, THIS MEANS “PARTIAL OVERWRITING IN THE SAME CONTIGUOUS DATA AREA.” b) WHEN THE NUMBER IS NOT PRESENT IN FILE, THIS MEANS “CREATING NEW CONTIGUOUS DATA AREA AND RECORDING NEW DATA.” Ip Contiguous SPECIFY POINTER TO Data Area VARIABLE THAT RECEIVES THE CONTIGUOUS DATA AREA NUMBER n Max Number INDICATE THE MAXIMUM Of Bytes For- RECORDING DATA SIZE IN Contiguous Data CONTIGUOUS DATA AREA TO Area BE RECORDED. a) WHEN TARGET C.D.A IS EXISTING PLACE, THIS MEANS THE DATA SIZE OF ITS C.D.A. b) WHEN TARGET C.D.A IS NEWLY CREATED CONTIGUOUS DATA AREA, VIDEO DATA EQUAL TO OR LESS THAN THE MAXIMUM VALUE IS RECORDED. . . . FILE SYSTEM SIDE USES THE PARAMETER IN SETTING ALLOCATION. Ip Max Number- SPECIFY POINTER TO C.D.A VARIABLE THAT RECEIVES THE MAXIMUM RECORDING DATA SIZE n Number Of VIDEO DATA SIZE TO BE Bytes To Write WRITTEN INTO CONTIGUOUS DATA AREA IN FILE Ip Number Of SPECIFY POINTER THAT Bytes Written RECEIVES THE VIDEO DATA SIZE n Number Of UNUSED AREA SIZE ON Bytes Reserve RECORDING/REPRODUCING APPLICATION SIDE THAT WRITES DATA IN CONTIGUOUS DATA AREA. . . . WHEN VIDEO DATA HAS RUN OUT, IT IS ADDED TO THE END OF CONTIGUOUS DATA AREA. L.B.N IS ALLOCATED FORMALLY. AT POSITIONS OTHER THAN THE END POSITION OF CONTIGUOUS DATA AREA, THE VALUE TAKES “0.” Ip Number Of SPECIFY POINTER TO Bytes Reserved VARIABLE THAT RECEIVES THE UNUSED AREA SIZE Ip Over Lapped SPECIFY RECORDING START POSITION POINTER IN THE RELEVANT CONTIGUOUS DATA AREA. . . . RELATIVE ADDRESS FROM THE RELEVANT CONTIGUOUS DATA AREA BEGIN POSITION. End Flag Of RELEVANT WRITE COMMAND Contiguous D.A SHOWS LAST RECORDING IN CONTIGUOUS DATA AREA. a) FLAG = 1: INDICATES THE LAST RECORDING IN CONTIGUOUS DATA AREA. THE ACCUMULATED VALUE OF ALL THE PRECEDING DATA BECOMES THE ACTUAL DATA SIZE IN CONTIGUOUS DATA AREA AND IS REGISTERED ON FILE SYSTEM SIDE. b) FLAG = 0: INDICATES THAT IT IS FOLLOWED BY RECORDING DATA IN THE SAME CONTIGUOUS DATA AREA. RETURN n Number Of SIZE OF REAL DATA ACTUALLY VALUE Bytes Written RECORDED ON INFORMATION 77 STORAGE MEDIUM a) REAL DATA SIZE COINCIDES WITH VIDEO DATA + UNUSED SIZE → RECORDING IS COMPLETE WITHOUT PROBLEM b) REAL DATA SIZE IS SMALLER THAN VIDEO DATA + UNUSED SIZE, THIS MEANS OVERFLOW OF DEFICIENCY HAS BEEN CAUSED BY DEFECTS ON INFORMATION STORAGE MEDIUM. . . . THE DEFICIENCY WILL START TO BE RECORDED WHEN WRITE COMMAND IS EXECUTED NEXT TIME.

[1219] TABLE 12 TABLE LISTING PARAMETERS AND RETURN VALUES FOR READ AV FILE COMMAND ON API IN LBN/ODD-PS READ AV FILE COMMAND (API) PARAMETER DESCRIPTION OF TYPE NAME 71 PARAMETERS 72 COMMAND h File NAME OF FILE TO BE PARAMETER RECORDED (SPECIFY FILE 76 HANDLE) Ip Buffer SPECIFY POINTER TO BUFFER THAT STORES DATA TO BE READ FROM FILE n Contiguous INDICATE CONTIGUOUS DATA Data Area AREA NUMBER IN FILE Ipm Contiguous SPECIFY POINTER TO Data Area VARIABLE THAT RECEIVES THE CONTIGUOUS DATA AREA NUMBER dw Number Of SIZE OF REAL DATA Bytes To Read REPRODUCED FROM CONTIGUOUS DATA AREA IN FILE . . . DATA IS REPRODUCED IN SUCH A MANNER THAT DEFECTIVE PLACES IN EXTENT AND DATA IN RESERVE SPARE AREA ARE REMOVED FROM THE OBJECTS TO BE REPRODUCED AND SKIPPED. Idpw Number Of SPECIFY POINTER TO Bytes To Read VARIABLE THAT RECEIVES THE VIDEO DATA SIZE Ip Over Lapped SPECIFY PLAYBACK START POSITION POINTER TO “REAL DATA” IN THE RELEVANT CONTIGUOUS DATA AREA [DEFECTIVE PLACES ARE NOT COUNTED]. . . . RELATIVE ADDRESS FROM THE RELEVANT CONTIGUOUS DATA AREA BEGIN POSITION RETURN BOOL a) RETURN TRUE WHEN VALUE PLAYBACK IS SUCCESSFUL. b) RETURN FALSE WHEN PLAYBACK IS UNSUCCESSFUL.

[1220] TABLE 13 TABLE LISTING PARAMETERS AND RETURN VALUES FOR AV WRITE COMMAND TO ODD IN LBN/ODD-PS PARAMETER DESCRIPTION OF PARAMETERS TYPE NAME 81 82 PARAMETER Initial LBN LOGICAL BLOCK NUMBER OF THE BEGIN POSITION OF AV EXTENT TO BE RECORDED Start SPECIFY RECORDING START Address POSITION IN RELATIVE ADDRESS FROM AV EXTENT BEGIN POSITION Data Length SIZE OF REAL DATA TO BE RECORDED Space Keep SIZE OF DATA AREA SECURED Length . . . IT CORRESPONDS TO “UNUSED AREA” ON RECORDING/REPRODUCING APPLICATION SIDE. ALTHOUGH NEITHER RECORDING OF REAL DATA NOR REPLACEMENT OF DEFECTS IS NOT DONE, ONLY PLACE IS SECURED. Restrictive ALLOWED LAST LBN IN End LBN RECORDING → SPECIFY THE UPPER LIMIT OF TIMES OF SKIPPING RETURN Recorded SIZE OF REAL DATA ACTUALLY VALUE Data Length RECORDED

[1221] TABLE 14 TABLE LISTING PARAMETERS AND RETURN VALUES FOR AV READ COMMAND TO ODD IN LBN/ODD-PS PARAMETER DESCRIPTION OF PARAMETERS TYPE NAME 81 82 PARAMETER Initial LBN LOGICAL BLOCK NUMBER FOR THE BEGIN POSITION OF AV EXTENT TO BE REPRODUCED Start Address SPECIFY PLAYBACK START POSITION IN RELATIVE ADDRESS FROM AV EXTENT BEGIN POSITION Data Length SIZE OF REAL DATA TO BE REPRODUCED → ASSUMING THAT DEFECTIVE PLACES ARE SKIPPED RETURN Recorded Data SIZE OF REAL DATA VALUE Length ACTUALLY RECORDED

[1222] Additional advantages and modifications will readily occur to those skilled in the art. Therefore, the invention in its broader aspects is not limited to the specific details and representative embodiments shown and described herein. Accordingly, various modifications may be made without departing from the spirit or scope of the general inventive concept as defined by the appended claims and their equivalents. 

What is claimed is:
 1. An information recording method which uses a head for recording information onto at least an information storage medium, a head moving mechanism for moving said head to the information storage medium, and a control section for controlling the moving position of said head by controlling said head moving mechanism and records information onto said information storage medium, said information recording method comprising the steps of: defining a file unit as a first unit to record information onto said information storage medium, and further defining a contiguous data area unit to be treated as a continuous recording area as a second unit to decrease the frequency of accessing of said optical head and thereby enable continuous recording onto said information storage medium, doing recording in said contiguous data area units and organizing a collection of the contiguous data area units into said file unit, and providing an information recording place in such a manner that said contiguous data area unit is so set that it extends over the recording area of another file already recorded on said information storage medium and a defective area on said information storage medium.
 2. The information recording method according to claim 1 , wherein the size CDA of said contiguous data area is: CDAS>= STR×PTR×(Ta+Tskip+Tpc)/(RTR−STR) where STR is the average system transmission rate, PTR is the physical transmission rate, Ta is the average access time required for reading means to access the recording area on the information storage medium once, Tskip is the total time required to pass through the total number of defective areas needing a skipping process found for the first time during the present recording in a contiguous data area, and TPc is the total access time required to avoid the other existing files and the defective areas subjected to a linear replacement process in the past or a skipping replacement process in the preceding recording.
 3. The information recording method according to claim 2 , wherein the total size Lskip of the other file recording areas and defective areas included in a single contiguous data area is: {(CDAS×(PTR−STR)/(STR×PTR))−Ta−Tpc}× PTR where PTR is the physical transmission rate, STR is the average system transmission rate, Ta is the average access time for one access, CDAS is the size of a contiguous data area, and Tpc is the total access time required to avoid the other files and the defective areas subjected to the linear replacement process in the past in the contiguous data area.
 4. An information recording method which uses a head for recording information onto at least an information storage medium, a head moving mechanism for moving said head to the information storage medium, and a control section for controlling the moving position of said head by controlling said head moving mechanism and records information onto said information storage medium, said information recording method comprising the step of: recording file entry information in a data area on the information storage medium, the file entry information in which identification information about a file to be entered is recorded.
 5. The information recording method according to claim 4 , wherein the identification information about the file indicates that the file is a real-time file.
 6. The information recording method according to claim 5 , wherein the identification information about the file is recorded in an information control block (ICB) tag serving as management information about the information storage medium.
 7. The information recording method according to claim 6 , wherein, in the management information including the information control block (ICB) tag, information about permission for a specific user to have access is also written.
 8. The information recording method according to claim 6 , wherein, in the management information including the information control block (ICB) tag, a field where the number of logical blocks serving as recording units and a short allocation descriptor indicating recording positions are also written is provided.
 9. An information recording method which uses a head for recording information onto at least an information storage medium, a head moving mechanism for moving said head to the information storage medium, and a control section for controlling the moving position of said head by controlling said head moving mechanism and records information onto said information storage medium, said information recording method comprising the step of: recording file entry information in a data area on the information storage medium, the file entry information in which information indicating an information length equivalent to the recording length of a real-time file is recorded.
 10. An information recording method which uses a head for recording information onto at least an information storage medium, a head moving mechanism for moving said head to the information storage medium, and a control section for controlling the moving position of said head by controlling said head moving mechanism and records information onto said information storage medium, said information recording method comprising the steps of: after information is recorded onto the information storage medium, searching for an unrecorded area on the information storage medium, creating and allocating position information in extent units serving as continuous recording units in the searched area, and recording information about the position of the empty extent in a management area.
 11. The information recording method according to claim 10 , wherein the extent unit is an information unit used in effecting physically continuous recording on the information storage medium.
 12. The information recording method according to claim 11 , wherein, if the total size of the extent units is the file size, the largest unit, and the size of the already recorded information is the information length, the size of the unrecorded area is equal to the file size minus the information length and that the size of the unrecorded area is managed in management information in a universal disk format.
 13. An information recording method which uses a head for recording information onto at least an information storage medium, a head moving mechanism for moving said head to the information storage medium, and a control section for controlling the moving position of said head by controlling said head moving mechanism and records information onto said information storage medium, said information recording method comprising the steps of: before information recording is done, searching for an unallocated area and a recordable area by reference to management information about the information already recorded on said information storage medium and creating and recording management information that allocates at least a first recording unit to the recordable area.
 14. The information recording method according to claim 13 , wherein, when the area to which said first recording unit has been allocated partly remains after the information has been recorded, that part is managed as an empty extent.
 15. An information recording method which uses a head for recording information onto at least an information storage medium, a head moving mechanism for moving said head to the information storage medium, and a control section for controlling the moving position of said head by controlling said head moving mechanism and records information onto said information storage medium, said information recording method comprising the steps of: before information recording is done, searching for an unallocated area and a recordable area by reference to management information about the information already recorded on said information storage medium and setting an empty extent in the recordable area, recording information about said empty extent in a file entry serving as management information, and after real-time data is recorded in said empty extent, rewriting the empty extent information into real-time extent information.
 16. The information recording method according to claim 15 , wherein, when an unrecorded part is left after the rewriting into said real-time extent information has been done, information about the empty extent for the corresponding part is written into the field at the file tale of a file entry.
 17. An information recording method which uses a head for recording information onto at least an information storage medium, a head moving mechanism for moving said head to the information storage medium, and a control section for controlling the moving position of said head by controlling said head moving mechanism and records information onto said information storage medium, said information recording method comprising the steps of: recording information in error correction code block units and, when the end of said recording information extends to the middle of an error correction code block unit, defining that extension as an empty extent, and recording information about the empty extent as management information in the file entry information.
 18. The information recording method according to claim 17 , wherein, when new recording information is added to the recording information recorded by the recording method, the new recording information is recorded from the area next to the empty extent, thereby causing the recording start position of the new recording information to coincide with the begin position of an error correction code block.
 19. An information recording and reproducing method which uses a first recording process layer for controlling an information recording and reproducing device that records information onto an information storage medium, a second recording process layer which a file system part that controls a place where information is to be recorded and which controls said first recording process layer, and a third recording process layer existing as an application layer that gives a command to said second recording process layer, and which records or reproduces information onto or from said information storage medium in information recording file units, said information recording and reproducing method comprising the step of: causing said third recording process layer to issue a command to delete only part of said file unit to said second recording process layer.
 20. An information storage medium which uses a head for recording information onto at least an information storage surface, a head moving mechanism for moving said head to the information storage surface, and a control section for controlling the moving position of said head by controlling said head moving mechanism and records information onto said information storage surface, said information storage medium characterized by: defining a file unit as a first unit to record information onto said information storage surface, and further defining a contiguous data area unit to be treated as a continuous recording area as a second unit to decrease the frequency of accessing of said optical head and thereby enable continuous recording onto said information storage surface, doing recording in said contiguous data area units and organizing a collection of the contiguous data area units into said file unit, and providing an information recording place in such a manner that said contiguous data area unit is so set that it extends over the recording area of another file already recorded on said information storage surface and a defective area on said information storage medium.
 21. An information recording medium which uses a head for recording information onto at least an information storage surface, a head moving mechanism for moving said head to the information storage medium, and a control section for controlling the moving position of said head by controlling said head moving mechanism and records information onto said information storage surface, said information recording medium characterized by: recording file entry information in a data area on the information storage surface, the file entry information in which identification information about a file to be entered has been recorded.
 22. An information recording device which uses a head for recording information onto at least an information storage medium, a head moving mechanism for moving said head to the information storage medium, and a control section for controlling the moving position of said head by controlling said head moving mechanism and records information onto said information storage medium, said information recording device comprising means for, after information is recorded on the information storage medium, searching for an unrecorded area on the information storage medium, allocating and creating position information in extents serving as continuous recording units in the searched area, and recording information about the position of the empty extent in a management area.
 23. An information storage medium wherein: a single file recorded in a data area is composed of one or more extents serving as units in physically continuous recording, said extent including a real-time extent in which real data has been recorded and an empty extent in which no data is recorded, and that an allocation descriptor serving as the information descriptor for said extent included in said data area includes identification information about said real-time extent and that about said empty extent. 